|
|||||||
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Member
Join Date: Mar 07
Location: Singapore
Posts: 63
![]() |
Hi!
I am developing a tool based on vb.net. in one of the procedures, i need the path to the folder where the tool will be located as i need to access an excel file which will be located in the same folder. Is there any method to get this path other than getting it from the user. ?? Please advise cheers Abhilash |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 07
Posts: 8
![]() |
Re: How to find the path to the current directory where the program is located?
Hi,
I am quite new to VB .NET. Maybe this can help you. I am using it to load an access database from the same path where the application is: Application.StartupPath This will give you the path where the application is running from. Try it out. |
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 07
Location: Singapore
Posts: 63
![]() |
Re: How to find the path to the current directory where the program is located?
Hey
thx blackbox.. ill try it out cheers Abhilash |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|