Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Createobject gets Error Instantiating Object
Message
 
To
02/12/1997 19:46:24
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00063428
Message ID:
00063518
Views:
61
>Dan ...
>I'm new to this Thread and when I typed in the question, I removed the quotes around the
>oForm = createobject("yellow_card") after I went to Send the question into the Thread and
>some error message popped up about quotes not being allowed.
>
>In reality I did use the correct: oForm = createobject("yellow_card")
>just as you advised and the instantiating error still occurred.
>
>Thanks ...
>John F.
John,

When you save a form as a class the DE is removed from the form class. So the controlsource may be your problem. Modify the formclass and in its Load event USE TheTable that the control needs and then try createobject().
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform