Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting current directory
Message
 
À
27/10/2009 21:09:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01431715
Message ID:
01431820
Vues:
54
I am sorry. I didn't explain the purpose of the file. The DEV.TXT file is used to trigger the menu when executing the EXE program after compiling. If the file is found, the Main menu will display under the File Menu Item the following, "Exit to FoxPro". (I am using GenMenuX.) When the developer clicks on this menu item, the executable program then exits to the FoxPro desktop, otherwise, your only choice would be to always exit to the Windows desktop. So, if I included the file in the project, it would always be .T.

Hmmm,... maybe you have something, or maybe not. I'll have to think about that. This has always worked on every machine and operating system I've loaded any of my programs to. I have always used the FILE() function to detect the file's presence and it has always worked, until I loaded my code and ran the program on this one XP machine today. It is bewildering to me why it won't work. Now, it always comes out FALSE, every time, not detecting the file's rpesence, although the path and file name are correct. I really am puzzled by this one. Okay, so maybe it is really a Microsoft bug.

Cecil

>By chance, are you including the file DEV.TXT in the project? If so, then the program will "find" the file in the project totally independent of the actual file path being specified.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform