Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any tips for - Error Instantiating the Object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00306285
Message ID:
00307020
Views:
23
>I've got a main form that has several pageframes, uses several subclasses, and has maybe 150 controls on it. It works just dandy. Now I've had a request to be able to display it in several screen resolutions. (I know there are resizer classes to do this, but since it was developed originally in 1024x768, it looks way too tiny when lowered to 640x480.)
>
>Anyway, what I'd like to do is save this form as a class and then have 2 or more subclasses, each with the appropriate screen resolution. The problem is, when I do this and attempt to create the object from the new class, it responds 'Error Instantiating the Object'. Because of the number of controls on this form, I'd really like not to have to go through removing each control, one by one to fix the problem.
>
>So does anyone know of a better method of troubleshooting this error?
>
>Thanks!
>
>-Matt

Matt:

I certainly hope this isn't the case, but it sure sounds like the error we see on some computers, no descernible pattern though. You're getting "Error instanciating object" followed by "Insufficient Memory" errors? Nothing concrete yet, but we may have this narrowed down to a .DLL problem with Adobe Acrobat installations.

If not, Peter's methodology for tracking it down will work.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform