Change starting application folder
In VB.NET project, is there a way to change the starting folder from the "Bin" to the application folder? Here's the problem I'm having. In the VB.NET project, when I run my application, it always start in the Bin folder. But when I compiled my program as an application an install it to another machine, the program starts in the application folder...and not Bin folder anymore. I want to be consisting because I have a .mdb file database in the Bin folder. I used this Private Shared mdbPath As String = Application.StartUpPath & "\myFile.mdb" to get my path. And because in the project, the program starts in the Bin folder so this is fine...however, when I compiled the program and install to new computer, the startup path is no longer started in the Bin folder anymore. So is there a way to get this to be consistant?
Many thanks in advance!
ljCharlie