Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send and return parameters from VFP to Javascript in IE
Message
From
29/10/2007 12:38:59
Victor Chigne
Inteliventas
Peru
 
 
To
27/10/2007 07:34:04
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:
01264794
Views:
21
Thanks Thomas. I tried to do something along the line you suggest, but no success.
I guess I'll try to use a text file or something to communicate to the JavaScript.


>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
Reply
Map
View

Click here to load this message in the networking platform