Hello
We’ve VFP9 application and we want to automate a 3rd party website , i.e. their website opened up in our web browser control and they need access to a public object so that they can call some functions in our application. they say that they use in their java script “windows.external” property to get reference to our object. My question is how do we set to this external object ?
Even though I see object & property I cant set it for some reason ,it gives error “OLE IDispatch exception code 0 from ?”
This is what I tried THISFORM.oBrowser.document.script.external=THISFORM
unfortunately this 3rd party does not know how to populate this either , they integrated with some other software and they provided them this external object.
after my initial investigation and as per this link i can use scripting object but does not say how to use it !
http://msdn.microsoft.com/en-us/library/Aa741313.aspx#Extending_the_Dynami any ideas greatly appreciated. thanks.