VB6 App.Path

How do I solve the App.Path in VB.Net, is there a way to Assign a path dependend of the mainprogram at installation time.
Thanks gunthi
gunthiAsked:
Who is Participating?
 
rajaamirapuConnect With a Mentor Commented:
this is the code
Private Sub PrintStartupPath()
   textBox1.Text = "The path for the executable file that " & _
      "started the application is: " & _
      Application.StartupPath
End Sub
0
 
appariCommented:
try

Application.ExecutablePath
0
 
gunthiAuthor Commented:
Thanks for your help!
gunthi
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.