Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error instantiating class - cannot find *.vcx-file 2

Status
Not open for further replies.

german12

Programmer
Nov 12, 2001
563
DE
Ich habe eine VFP Form vom Desktop auf einen USB-Stick kopiert und
versuchte diese Form auf einem Laptop (ebenfalls mit installiertem VFP 9) aufzurufen.
Es kam diese Fehlermeldung:

"error instantiating class - cannot find (mypath)\wizards\wizembess.vcx"

Wo kann ich diese vcx-Datei finden?

Thanks for an advice.

Klaus



Peace worldwide - it starts here...
 
Hi,

Well you'll have to check IF and WHERE the file wizembess.vcx exists/is on your laptop. If the form is correctly instantiated on your home PC this file surely is saved there and you'll have to copy it along with the form files.

hth

MarK

 
I agree with Mark. The best thing is to place the VCX on the laptop in a directory with the same name as on the original system. Alternatively, remove the hard-coded path and then use either SET PATH or SET CLASSLIB to locate the VCX.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Oh sorry, I just see that my question was written in my native language.
As I can see, this could already be understood. Hats off!
Here is the translation:


I copied a VFP form from the desktop to a USB stick and
tried to call this form on a laptop (also with VFP 9 installed).
This error message came up:

"error instantiating class - cannot find (mypath) \ wizards \ wizembess.vcx"

Where can I find this vcx file?


Peace worldwide - it starts here...
 
Hi Klaus,

I think you should be looking for wizemboss.vcx. I think this comes with VFP and perhaps something was misspelled somewhere?

Regards, Gerrit
 
Hi,

The two files that come with VFP9 are located in "...\Microsoft Visual Foxpro 9\Wizards" and are spelled wizembss.vcx and .vct - no "e" between "b" and "s".

hth

MarK
 
Thank you, dear friends, I was given good advice on this question too.
It was about this module, which I created with a wizard under VFP.
(at the moment I don't remember which wizard it was).

vcxScreenshot_2021-05-14_212628_olubly.png

Now, thanks to your advice, I have found out that I still needed the following files to get the program to work on the laptop.

wizbase.vcx
wizembss.vcx
wizembss.vct


I found these necessary files in my computer here:
Screenshot_wizardsuche_2021-05-14_214833_pyj8h3.png


So Gerrit and Mark - you were right (I made a typo in my request for a file name (wizembss ist oorrect).

I don't (yet) know whether it's always just these three files that you need.

Thanks again.
Klaus

Peace worldwide - it starts here...
 
Hi,

I don't (yet) know whether it's always just these three files that you need.

That depends on which wizards you used to create the forms. You'll find all the wizard-files in the "...\Microsoft Visual Foxpro 9\Wizards" subfolder and its subfolders.

hth

MarK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top