OCX Handle NAVIGATE and REFRESH

Author: satheesh.balu.m@gmail.com (Satheesh)

Hi, I'm using OCX handle to navigate to the URL and fetch the values from the output. $OCX_FOR_IE$ -> NAVIGATE(v_webpage_url,navNoHistory,-,-,-) The Navigation looks like working, but I don't really get the response back based on the request. I get the response based on the cache. Once I cleared the history from IE, I get the "real" response. As long as I clear the history I get the response based on the request. Once I stopped deleting the history, I start getting the response from cache. I tried to solve this issue by using refresh like below: $OCX_FOR_IE$ -> REFRESH() But I get the below error : The COM method "Refresh" threw an OLE exception: HRESULT=0x80004005, description="", source="": COM error 0x80004005, described as "Unspecified error"  Can anyone help me to do the NAVIGATE and REFRESH to get the actual results. Please find the below links from MSDN https://msdn.microsoft.com/en-us/library/aa752093(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/aa752098(v=vs.85).aspx   Thanks, Satheesh

2 Comments

  1. Hi, I tried using the below as well. But it doesn't help. $OCX_FOR_IE$ -> NAVIGATE(v_webpage_url,"4",-,-,-) $OCX_FOR_IE$ -> NAVIGATE(v_webpage_url,"12",-,-,-)   navNoReadFromCache = 4 navNoWriteToCache = 8 I tried : $OCX_FOR_IE$ -> REFRESH2("3") Any idea?   Thanks, Satheesh


    Author: Satheesh (satheesh.balu.m@gmail.com)
  2. Hi, One more information :  $OCX_FOR_IE$ -> REFRESH()  brings the error : -150 & ERROR=-150MNEM=DESCRIPTION=Activation error occurred Anyone knows about the solution on how to make a successful call to REFRESH ? OcxContainer -> Generate Signature will help ? Thanks, Satheesh


    Author: Satheesh (satheesh.balu.m@gmail.com)