|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Get current directory
I am writing a vb program, only my 1 day using vb. Is there a way that the program can get the current path that it is running in?
Say if the program was running in some wierd directory is there a way to have the program get the current directory that it is executing? I'm sure this is simple, but I am new to vb, sorry. |
|
#2
|
|||
|
|||
|
App.Path I found it
|
|
#3
|
|||
|
|||
|
Quote:
It works Yaa. Thanks for your help |
|
#4
|
|||
|
|||
|
CurDir
app.path gets the path of the executable |
|
#5
|
||||
|
||||
|
The original post five years ago seems to be explicitly asking for the path of the executable ... in this case curdir cannot be relied upon for that
__________________
medialint.com "Energy has the opportunity to change the climate if it's done right." - Sen. John Ensign, R-Nev. (quoted out of context) Last edited by medialint : June 19th, 2008 at 09:05 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Get current directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|