Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining executable name.
Message
 
À
29/02/2000 08:35:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00339017
Message ID:
00339019
Vues:
26
>Hello, it's me again :-).
>
>Thanks for your previous help, it was very, well, helpful :-).
>
>Here is another one that has been puzzling us: is there a way to, within an application, detect the executable name it is running under?
>
>For example, if there is an application that can be compiled under several names, can we detect that name within the application (using Foxpro commands, prefferably, or with an API)?
>
>Thank you for your help.
>
>Yan Vaillancourt
>TRANSCONTINENTAL-SODEMA

Hi Yan,

SYS(16,0) will return you the application filename (with full path)

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform