0

I am currently working on a windows Application project. I have a folder named "documents" in bin/debug that contains subfolders while the subfolders contains word document files. When I click and drag the "documents" folder, i got a complete C:\Users\Satellite\Documents\Visual Studio 2010\Projects\WindowsExplorer_VB\WindowsExplorer_VB\bin\Debug\documents. What I want is to get the location of the folder in bin/debug so that the application can read from the directory when installed on a different machine.. Any help...

user46527
  • 1
  • 3

1 Answers1

0

Try this:

Dim docPath As String = Path.Combine(My.Application.Info.DirectoryPath, "documents")
JerryM
  • 910
  • 6
  • 9