Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EXE not finding existing VCX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
EXE not finding existing VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01569645
Message ID:
01569645
Vues:
80
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform