Converting VB6 to C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ok, I don't care if this is a stupid question...

I'm converting a VB6 windows forms app to a C# .NET windows forms ap

What is the C# equivalent of App.EXEName

I know VB6 and C#, but I do not write many windows forms, so I am not familiar with all the built-in functions for windows forms. And therefore, I am not familiar with the equivalent functions in the various languages.
 
Angela said:
I'm also not sure what the C# equivalent of the VB6 App.Path would be

Application.ExecutablePath gives the full path of the .exe that was
executed.
Application.StartupPath gives the initial directory.

Jeremy
 
Back
Top