May 19, 2006 #1 AgentM MIS Jun 6, 2001 387 US How do I get the path from which my application is executing? Thank you
May 22, 2006 #2 NeilTrain Programmer May 27, 2003 275 US Application.ExecutablePath Upvote 0 Downvote
May 23, 2006 #3 Hokkie MIS Nov 21, 2001 77 NL or try System.Windows.Forms.Application.StartupPath Upvote 0 Downvote
May 23, 2006 #4 NeilTrain Programmer May 27, 2003 275 US StartupPath does not include the exe name, just the folder path it is in. Perhaps thats what he was looking for, I'm not sure. Upvote 0 Downvote
StartupPath does not include the exe name, just the folder path it is in. Perhaps thats what he was looking for, I'm not sure.
May 23, 2006 #5 obislavu Programmer May 31, 2003 974 CA Try this one: Code: // Retrieve assembly path string assemblyPath = Assembly.GetExecutingAssembly().Location; obislavu Upvote 0 Downvote
Try this one: Code: // Retrieve assembly path string assemblyPath = Assembly.GetExecutingAssembly().Location; obislavu