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

Re: Finding Path of a running exe file from VB app 80 80

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

Re: Finding Path of a running exe file from VB app 80 80

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.

Re: Finding Path of a running exe file from VB app 80 80

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.

Re: Finding Path of a running exe file from VB app 80 80

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

Re: Finding Path of a running exe file from VB app 80 80

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.