1
votes

I have an application, user can install it on any folder in his/her computer how can I find my application on his computer(where it is installed and launch it)

Dim path
path = "path/to/myApplication.exe" 'path to myApplication is unknown I need to find it
Shell """" & path & """", vbNormalFocus

Is there any easy way I can find where user has installed my application on his computer, in windows

1
Is it actually installed on the system, or just an .exe file?David G
It is installedFahad

1 Answers

1
votes

This SO Article offers a great solution to your problem.

You can always iterate recursively through the file system, but there are obvious downsides to this method (time, permissions, networks etc.).