Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3rd party website want to call functions in foxpro appl
Message
From
26/09/2010 19:39:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
3rd party website want to call functions in foxpro appl
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01482793
Message ID:
01482793
Views:
150
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.
Next
Reply
Map
View

Click here to load this message in the networking platform