get the parent path in vb.net

  • Thread starter Thread starter Esperanza
  • Start date Start date
E

Esperanza

Hello VB.net expert!
I need to get the parent folder of Application.StartupPath

I couldn't find anything in the help.

Thanks in advance !!

Esperanza
 
Try this:

MessageBox.Show(IO.Directory.GetParent(Application.StartupPath).ToString)

I hope this helps

Crouchie1998
BA (HONS) MCP MCSE
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top