Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 and long file names
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00163582
Message ID:
00163604
Vues:
23
>I try to install my application in "Program Files" folder, but in main programm I have the following code:
>
> programm_path = SYS(16,1)
> programm_path = LEFT(programm_path,AT(MYAPP,programm_path)-1)
>
> m_file = programm_path + "MyLib.FLL"
> SET LIBRARY TO &m_file
>
>but allways when I run application I receive the error messages: programm xxx.prg does not exist where the xxx is function from MyLib.Fll
>
>How can I use the long file names within the VFP.
>
>TIA
Hi Boris,

Just a note here about getting the path. In VFP 6 you can use:

programm_path = JUSTPATH(programm_path)
m_file = ADDBS(programm_path) + "MyLib.FLL"

to do this work.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform