Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to add the web browser object to _SCREEN?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00259897
Message ID:
00260010
Vues:
18
>I am trying to put a web viewer object on the vfp6 screen.
>I tried the following:
>1) I created a container class with the MicrosoftWebnavigator ocx as an olecontrol
>2) In my startup code, I added the following lines:
>_SCREEN.Addobject("blabla","name")
>_SCREEN.blabla.web.navigate("web.page")
>
>After the addobject, vfp6 gives me the message "Object class is invalid for this container"
>
>?any clue
>THanks
>Eric.

Try doing an AddProperty, and then CREATEOBJ() -

_SCREEN.AddProperty('blabla')
_screen.blabla = CREATEOBJ("name")
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform