C# equivelent of VB 6 App.Path

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

I am looking to show the build information of an
application built in .Net C#. Back in the VB 6 days, I
was able to use the app.path property.

Does anyone know of an equivelant command in C#?

Gary
 
I am looking to show the build information of an
application built in .Net C#. Back in the VB 6 days, I
was able to use the app.path property.

Does anyone know of an equivelant command in C#?

Gary

Hi,

try the System.Windows.Forms.Application class

VB6 app.path would be Application.StartupPath I suppose (don't know VB6 to
well.... :)

Ulf
 
Bill, I think this is what you need

string stAppPath1;

stAppPath1 = Environment.CurrentDirectory;

Rich
 
Back
Top