Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling - need to pass the name of the current fo
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133347
Message ID:
01133720
Views:
12
This message has been marked as the solution to the initial question of the thread.
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.
Oscar Zarate
National Australia Bank
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform