Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error instantiating the object (Error 1736)
Message
From
29/11/2000 18:34:25
 
 
To
29/11/2000 18:31:08
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00447103
Message ID:
00447108
Views:
10
>I got the error message of "error instanitiating the object" when I try to add an object to the current pageframe.
>
>The syntax I used was this.AddObject('cMyObject','cMyClass')
>
>cMyClass is a class that exists in the SET CLASSLIB statement. The same AddObject method call works for most other classes (some are in the same class library file) in the app.
>
>Anyone can help?
>
>Thanks.

9 out of 10 times I've seen this error it's because the class being instantiate has at least one control that is attempting to bind to data that doesn't exist.
Verify that any data bound controls have their ControlSource's entered correctly and that those fields actually exist and are available.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform