Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling file location during distribution
Message
De
23/08/1998 21:46:27
 
 
À
23/08/1998 18:38:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00128314
Message ID:
00129182
Vues:
35
>John, sorry to confuse you ! It's better to explain more in detail. Previously in Foxpro2.6, I write prg files. In vfp, I build the exe file from project file created by project manager. All I have done is puting data files into the data environment. Then I build forms using form-designer and add them to the project. There is only one prg file which is the start program which run the forms with READ EVENTS in it. My problem is the location of dbf in the data environment and bmp/icon files in some class properties. So, the entire programming is split into bits in the EVENTS in the classes inside the project. After the exe is generated, the location of dbf/bmp/icon files are hard-coded. But, when I distributed to other users, the Cd-rom drive and harddrive names may be different from mine. How to handle the situation ? I really waiting for help !
+
As I understand it everything is included in the project except the data files. As I have found out you just have to point to them with SET PATH and you should be ok.

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

Click here to load this message in the networking platform