Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE not finding existing VCX
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
EXE not finding existing VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01569645
Message ID:
01569645
Views:
81
I have a large VFP 9 application using 9 VCX Class files. It has worked fine for some time till I added the 9th VCX. It was copied from another project but I checked and all the references are set to local VCX Classes, etc. The problem is a container object in the VCX that is added to a form at runtime to show help messages. It can be called at any time from any form though an internally developed help system. We set it to auto load because the system has over 300 forms.

The object loads with:
if vartype(oForm.cntHelpMsg) <> 'O'
       oform.NewObject("cntHelpMsg","cntHelpMsg","j5w.vcx")   <-- line causing crash.
       oForm.cntHelpMsg.Zorder(0)
endif
Sometimes users get the error: Class library file (path) \j5w.vcx not found. The only fix I can find is to place the J5W.VCX file into the (path) folder. Other places where it is used do not have a problem.

Ideas?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Next
Reply
Map
View

Click here to load this message in the networking platform