Philip,
Won't Version() will give you this information?

Dave C

-----Original Message-----
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf
Of Philip Borkholder
Sent: 30 March 2010 21:51
To: ProFox Email List
Subject: Running EXE Name

Hey all,
Anyone know the VFP code or Windows API to be able to find out what 
runtime EXE is running the code?
Reason being,
I am working with an application that calls a PRG from two different VFP 
Runtime EXE's.
I would like different behavior depending on which EXE is calling it.
(Sending new parameters from the EXEs is not an option right now)

Thanks,
Philip

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
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/000501cad0a0$29f928e0$7deb7a...@co.uk
** 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