Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send and return parameters from VFP to Javascript in IE
Message
De
27/10/2007 07:34:04
 
 
À
26/10/2007 15:38:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01263372
Message ID:
01264462
Vues:
20
Victor,
>Thanks for the reply....do you have any link to this pproach or some code?

This was 8 years ago working on client side - I might have some code on one of the DAT - tapes in the bank vault from that time, but I am not sure...

Therefore from memory:
we checked quite a few angles, some of them failing only in one aspect but working in others:

one C way based on MSDN article "Call a Script from WebBrowser Application" or something like that
Implement a BHO (browser helper object) and IDocHostUIHandler::get_external ? since newer IE security blocks some interprocess access
access an external container with GetIDsofNames and Invoke
try IHTMLWindo2.ExecScript()
set from script and read out from vfp a special property on the Document-DOM
set a predifined mediator object var in script global space to external object and communicate with its properties/methods

the last approach is the one I mentioned before. Most of the ways were working in some configuration, not in all - and that was on IE4 and IE5.

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform