I have created one windows application using VB. Whenever I executing the exe, I want to get the current directory of the exe file programatically.
For example,
Now, I am executing the exe file in d:\myApp\test.exe. Whenever I double click the exe file I want to get the path of the exe file like d:\myApp\test.exe.
Also, suppose, my exe is in CD or any memory stick, will it also get the path of the exe file?
I don't know is this possible or not?
Any suggestion?