Question solved:

Sys(16,0) gives what I want. Sorry guys!

Dave Crozier


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Dave Crozier
Sent: 03 August 2009 15:18
To: 'ProFox Email List'
Subject: Name of current .exe

Hi guys and Gals,
I think I'm being a wee bit stupid here, but how can you get the name of the
currently executing .exe from code running within that .exe. Obviously
Program() and Sys(16) only give you the program levels within the .exe but I
want the actual name as I am trying to catch if the .exe is renamed.

I'm sure I have done this before in the dark distant past but I can't
remember the API call I used.

Dave Crozier
[email protected]





[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/edca340bb99d46ffab7589e15a9b0...@develop
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to