S swu Active member Joined Mar 26, 2005 Messages 33 Programming Experience 1-3 May 15, 2008 #1 I'm trying to get the path and exe file for a process. I'm trying the following with no sucess. app = pProcess.StartInfo.FileName and app = pProcess.MainModule.FileName.ToString Any suggestions? Thanks in advance.
I'm trying to get the path and exe file for a process. I'm trying the following with no sucess. app = pProcess.StartInfo.FileName and app = pProcess.MainModule.FileName.ToString Any suggestions? Thanks in advance.
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ May 15, 2008 #2 Application.StartUpPath is the startup path of the main executable The Application namespace has more info for what you need Upvote 0 Downvote
Application.StartUpPath is the startup path of the main executable The Application namespace has more info for what you need