Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 to VFP6 problem with CreateObject() command
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
VFP5 to VFP6 problem with CreateObject() command
Miscellaneous
Thread ID:
00139629
Message ID:
00139629
Views:
54
I have a .vcx file that has an object in it that calls the following command:

THIS.AddObject("oSrchForm", "SearchOptions")
--SearchOptions is a form class.

My problem is that when I try to run the thing in VFP6 I get an error saying 'Object class is invalid for this container'.

I'm creating other objects right before this one, but this is the first one that's based on a form class. Can I still do this in VFP6, or am I missing something? Thanks...
ICQ 10556 (ya), 254117
Next
Reply
Map
View

Click here to load this message in the networking platform