Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory problems...
Message
De
09/09/1999 10:05:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Directory problems...
Divers
Thread ID:
00262859
Message ID:
00262859
Vues:
51
When I install my application with InstallShield Express 2 to the path: C:\Program\Megasol Data\MIS i'm running into problems when I start my program from the icon ISE created for me. In the icon properties I have the following Start In directory: C:\Program\MEGASO~1\MIS. Almost everything works ok, but in one place I do the following thing: set classlib to &cOpenClasslib in &cClasslibInApp additive where cOpenClassLib = 'mis_settings' and cClasslibInApp = 'mis.exe'. Then I get the following error: 1993 - Class library file 'c:\program\megasol data\mis\classlib\mis_settings.vcx' is not found.
But if I change the Start In directory to "c:\program\megasol data\mis" or double-click mis.exe from explorer or something like that the error dose not appear. So have have come to the conclution that the "short directory name" couses me problems... To get rid of this problem I can do a SET DEFAULT TO... in the beginning of my program. But how do I get the "long directory name"? Becouse the curdir() returns the short name if it was started from the icon with the short name and returns the long name in other cases.

/Mårten Törnquist
---( Mårten Törnquist )---
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform