TMI Posted October 15, 2003 Posted October 15, 2003 I know the file name or program but do not know the path. The path also may vary from pc to pc. How do I find the file and open it or start the program without knowing the path? Quote
*Experts* Volte Posted October 15, 2003 *Experts* Posted October 15, 2003 You can't, short of recursively searching the whole hard drive for it. Quote
TMI Posted November 3, 2003 Author Posted November 3, 2003 I found what I was looking for. Try System.Diagnostics.Process.Start("SomeProgram.exe") Catch ex As Exception MsgBox(ex.Message) Exit Sub End Try This works great for any program that has been installed via a install program. Does not work for exe's that have only been copied to the pc. You then have to give the path to the exe. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.