Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / Setup / August 2004

Tip: Looking for answers? Try searching our database.

EXE name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max Andr? B?ndchen - 07 May 2004 14:06 GMT
How I can take the exe name running? For example, if I have a project that
will be used with the executable name 'myproj.exe' and this is renamed to
'ourproj.exe', how I can take in executation time the name of the EXE file?
Lee Mitchell - 07 May 2004 18:32 GMT
Hi Max Andr? B?ndchen:

I am not sure if I understand your question, take a look at these articles
and see if they help:

188404 HOWTO: Use API Calls to Detect Other Running Applications
http://support.microsoft.com/?id=188404

121242 HOWTO: Produce a List of Other Applications Running in Windows
http://support.microsoft.com/?id=121242

You might also be able to use AGetFileVersion()

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
  http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
  http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
  - VFP5 Mainstream Support retired June 30th, 2003
  - VFP6 Mainstream Support retires Sept. 30th, 2003

>How I can take the exe name running? For example, if I have a project that
>will be used with the executable name 'myproj.exe' and this is renamed to
>'ourproj.exe', how I can take in executation time the name of the EXE file?
Daniel Gro?e-Lanwer - 23 Jun 2004 13:07 GMT
One could try astackinfo(). The second column of its's array return the
module name.

You could go down the stack to the first stackentry. This is the name of
your exe/the exe that you are running.

> How I can take the exe name running? For example, if I have a project that
> will be used with the executable name 'myproj.exe' and this is renamed to
> 'ourproj.exe', how I can take in executation time the name of the EXE file?
Devapriya De Silva - 02 Aug 2004 07:04 GMT
JUSTFNAME(SYS(16,0))

Regards,
Devapriya De Silva

> One could try astackinfo(). The second column of its's array return the
> module name.
[quoted text clipped - 6 lines]
> > 'ourproj.exe', how I can take in executation time the name of the EXE
> file?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.