954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Finding Path of a running exe file from VB app

Hi,

I have to find the path file of another exe running parallel to my app. I will have to do this in runtime. This is a project in Visual Basic 6.0.

Can anybody help?

Vishnu

rvishnucbe
Newbie Poster
2 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

What do you mean by 'path file'?
Is it the directory where the other app is installed in?

PVBert
Junior Poster in Training
61 posts since Mar 2007
Reputation Points: 10
Solved Threads: 5
 
What do you mean by 'path file'? Is it the directory where the other app is installed in?




Yes I want to have the path of the directory the other app is installed.

rvishnucbe
Newbie Poster
2 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

I am not sure if there is a direct way of getting the path of another app. One way could be having the 2nd app write it's path somewhere (in a text file for example) when it's launched. Then the 1st app reads the path from the text file.

aparnesh
Junior Poster
194 posts since Jul 2005
Reputation Points: 20
Solved Threads: 10
 

how do you know which app you want?
There can be so many apps active on a Windows system...

PVBert
Junior Poster in Training
61 posts since Mar 2007
Reputation Points: 10
Solved Threads: 5
 

how did you solve it,
we need to know,
so others can learn from your solution

PVBert
Junior Poster in Training
61 posts since Mar 2007
Reputation Points: 10
Solved Threads: 5
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You