Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error instantiating
Message
 
To
03/08/2000 21:19:40
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, California, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00400825
Message ID:
00400841
Views:
20
Couple of suggestions (no guarantees, unfortunately)

1. Are you positive your path contains the folder where the VCX files are located?

2. Can you include them in the project but mark them 'exclude' so they won't be put in the EXE?

Barbara

>I've got an EXE for my application and the project for it includes my VCX class libraries and an assortment of SCX forms. One of these forms gets updated frequently and so rather than having to send users a whole new (and large) EXE every time the form changes, I've decided to exclude the form from the EXE completely, place the SCX/SCT for the form directly on disk instead, and launch it from my menu via something like DO FORM MyForm.
>
>Unfortunately, when I do that and try to activate a mover object on the form, I get a "Locate class" dialog window with a message that reads:
>
>
>     Error instantiating class.  Cannot find
>         c:\apps\vtp6\lib\vfxform.vcx.
>
>     [LOCATE]  [IGNORE]  [CANCEL]  [HELP]
>
>
>[LOCATE] lets me navigate to the development library that contains a copy of the VCX, the mover comes up and the problem goes away. The problem does not reoccurr during that instance of the EXE. Unfortunately, it comes back once I close the app and restart the EXE next time around.
>
>[IGNORE] and [CANCEL] yields Error 1993 Method: FRMREPORTSETUP: 151 Class library file 'c:\apps\vtp6\vfxform.vcx' is not found.
>
>[HELP] tells me how to use a Locate Database Dialog box.
>
>Why is this happening and how do I fix this?
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform