Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using IE in VFP for local access
Message
De
07/06/1999 10:28:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00226730
Message ID:
00227040
Vues:
28
>I am new to VFP6.0 (previously I have only worked with VFP3 and FPD2.6) and am trying to learn how to "make things work." I would like to do the following, but have no concept of where to even start to look to see how to do it.
>
> I would like to write a VFP app that will generate on-the-fly web pages that are displayed in a ActiveX windowed web browser. (An example of an application that uses this would be M$ Money. The main page is actually a web-page with no visible browser.)
>
> Does anyone know how to do this? I think that there should be a way to pass HTML code directly to a web-browser ActiveX control, and that I should be able to read the user's response and be able to change the HTML accordingly. Any suggestions?
>
> Thanks in advance for all your help.

Ben,

you may use the ie as an active x control in a form. Say your IE object is oIE then you can write thisform.oIE.Navigate(xxxxx) and all the other methods of the ie object model. You can generate an html file from your vfp app and then issue something like: oIE.DocumentOpen, oIE.DocumentWrite(MyHTMLFile) and oIE.DocumentClose. Before showing this file you have to genereate a blank one, like: oIE.Navigate('about:blank').

Hope this helps.
Vlad-Georg
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform