Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the web browser control in a form
Message
De
30/10/2001 12:25:36
 
 
À
30/10/2001 12:18:34
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00575116
Message ID:
00575170
Vues:
31
This message has been marked as the solution to the initial question of the thread.
>Thanks JC!
>
>>Take a look at Thread #573402 for examples of how to use the web browser control...
>
>What Evan Pauley says in there is: "I have an instance of the Web Browser control on a VFP 7 form. I've successfully navigated to the desired URL".
>
>I'm a step before that. How do I create the form and put the Web Browser in it? Is Evan's WebControl1 the same as my olecontrol1 object (OLEClass = "Shell.Explorer.2"), in my Example #2? Should I use that code (#2)?
>
>Fernando

Sorry, that wasn't specified in the other thread. Just add an OLE Container control to your form, select "Insert Control" from the insert object dialog and then scroll down to the "Microsoft Web Browser Control". From here you can use the code on the referenced thread, the only difference is that you won't be loading the HTML on the Init, but on your Load command button.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform