Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET CLASSLIB TO Forms ADDITIVE
Message
De
09/04/1997 00:40:59
 
 
À
09/04/1997 00:23:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00027541
Message ID:
00027544
Vues:
35
>Using the example in the developer's guide, I include something like the following in my click method in a button class:
>
>SET CLASSLIB TO jd.vcx
>warn=CREATEOBJECT("warn")
>warn.show
>
>The jd class library containing warn exists in my project file, but I get a "d:\mydir\jd.vcx file does not exist" error message. The actual vcx exists in my d:\class dirrectory. When building applications to be installed on user's machines, how do I get around having to have the jd.vcx file in my user's dirrectory?
>
>Thanks
>
>john

When you deliver an APP or EXE, all VCXs are included in the APP/EXE file, so you don't need to deliver them or to worry where to put them.

Although, ALWAYS build your APP/EXE from C: drive (all project files on C: drive) since there are some bugs related to the drive.

Also, be carefull with SET CLASSLIB without "ADDITIVE" since it will discard any other VCX from memory.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform