>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")