Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to add the web browser object to _SCREEN?
Message
From
31/08/1999 23:20:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00259897
Message ID:
00260010
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform