Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error instantiating an object
Message
From
05/08/1999 16:10:21
 
 
To
05/08/1999 14:40:04
Carl Sarazin
Statistics Canada
Ottawa, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00250307
Message ID:
00250388
Views:
16
I think you'll have to trace it to the particular control. :-( But, to help you can pretty much any controls with no method code are okay. And check the other controls methods for code that might refer to an object hierarchy no longer valid give the possibly new containership.

HTH

>The application that I am developing uses page frames and has a considerable number of objects on each page. It was taking quite long to load, so I used the suggestion that is given in the VFP documentation (chapter 15, Optimizing Applications) and saved the contents of each page as a class and create the object only when the page is activated (thus loading the controls dynamically). It works perfectly for almost all of the pages, but a few generate the error "Error instantiating the object" (Error 1736). I've recreated the classes, but it hasn't made a difference. Any suggestions?
Previous
Reply
Map
View

Click here to load this message in the networking platform