Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling - need to pass the name of the current fo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01133347
Message ID:
01133789
Vues:
13
This did it! The program() function was just giving me the control, whereas sys(16) is giving me the control AND the program name.

Thank you!

>Hi John,
>
>Have you tested this one?
>
>SYS(16) is similar to PROGRAM( ) except that SYS(16) returns a path with the program name. When the executing program is part of an application (.app), SYS(16) returns only the name of the program, that is, without the path. SYS(16) returns the name of the executable file if called from an executable (.exe) file; whereas PROGRAM( ) returns just the program name. If a procedure or function is being executed, SYS(16) returns the name of the file containing the procedure or function after the procedure or function name.
>
>Regards,
>
>Oscar Zarate.
>National Australian Bank.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform