Added Folder

  • Thread starter Thread starter Uri Dimant
  • Start date Start date
U

Uri Dimant

Hello
VS2005
I have just added a new folder to my vb.net application (client data) and
brougth two file (.gif) .Now I want to access to those files from my
application. how can I do that? How cam I determine the path of the folder?
Thanks
 
If the "client data" folder is put in the same directory as your application
executable (bin directory when using the IDE), you can get the pat from
Application.ExecutablePath & "/client data" & "/"
 
Sorry, it sould have been
Dim fi As New FileInfo(Application.ExecutablePath)
fi.DirectoryName & "\client data\"
 

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