Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error instantiating the object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00522672
Message ID:
00522891
Views:
13
Craig,

Often, that error occurs when one object has an invalid controlsource - ie misspelled or deleted field. To find the offending object, throw a temporary SET STEP ON into the error method of your base classes. I usually test one class at a time, starting with the textbox.

>I'm getting the message, "Error instantiating the object".
>
>Here's the code:
>
>ox = CREATEOBJECT("PatientMaintForm", "TDBM")
>
>I get no other errors. I've recompiled everything and get no errors. There are no ActiveX controls or COM Servers associated with this class. Any ideas what is causing this error?
Brien R. Givens

Brampwood Systems
Previous
Reply
Map
View

Click here to load this message in the networking platform