Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send and return parameters from VFP to Javascript in IE
Message
From
27/10/2007 07:34:04
 
 
To
26/10/2007 15:38:40
Victor Chigne
Inteliventas
Peru
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01263372
Message ID:
01264462
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform