Advertisement

11.27.2007 at 04:48PM PST, ID: 22986543
[x]
Attachment Details

How do i get the path of the executable in window console application(C#)?

Asked by Kiran_M in .NET Framework 3.x versions, Microsoft Visual C#.Net, Visual Studio

Tags: , , , ,

Hi,

How do i find the path of the executable in a windows console application (C# code)?
I tried "Application.StartupPath".It did not work,got a compile error "the name 'application' does not exist  in this context"

Thanks..Start Free Trial
[+][-]11.27.2007 at 08:51PM PST, ID: 20363313

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET Framework 3.x versions, Microsoft Visual C#.Net, Visual Studio
Tags: path, console, get, application, executable
Sign Up Now!
Solution Provided By: FernandoSoto
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628