Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error instantiating class - NEWOBJECT
Message
From
04/07/2001 11:45:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/07/2001 11:36:49
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00526692
Message ID:
00526696
Views:
18
Try the following:

1) Release the form before releasing the variable.

2) Debug to see where you get the error message. Perhaps the form does something wrong when it gets released the first time.

Hilmar.

>I am using Visual FoxPro 6, Service Pack 3.
>
>I create 1 instance of a modal form using command:
>obj_form = NEWOBJECT(class, classlib)
>
>This works fine.
>When I am done, I release the variable obj_form to remove the form from memory.
>
>When I try to create the form a second time using the exact same command, I get the error message:
>
>'PARENT' is not an array
>
>I am modifying code in the SBT (now ACCPAC) Pro 6 Accounting system.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform