I am trying to change the current directory to be where the executable for my vb project is being run. This is probably easy but I just cant think of it.
You want the ChDir & App.Path functions. ChDir changes the current directory (but not the current drive); App.Path returns the location (directory) of the executable. Code something like:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.