Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3rd party website want to call functions in foxpro appl
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
3rd party website want to call functions in foxpro appl
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01482793
Message ID:
01482793
Vues:
149
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform