T Terzaghi Member Joined Feb 25, 2010 Messages 8 Programming Experience Beginner Jun 19, 2010 #1 hi guys! a simple question here... =D how do i get the directory of which my program is running as string? like "C:\whatever\" thanks ahead!
hi guys! a simple question here... =D how do i get the directory of which my program is running as string? like "C:\whatever\" thanks ahead!
Satal Keto Well-known member Joined May 15, 2006 Messages 86 Programming Experience 5-10 Jun 19, 2010 #2 This will give you the directory that your program is running VB.NET: Application.StartupPath This will give you the filename of the program as well as the directory. VB.NET: Application.ExecutablePath Hope this helps Satal Upvote 0 Downvote
This will give you the directory that your program is running VB.NET: Application.StartupPath This will give you the filename of the program as well as the directory. VB.NET: Application.ExecutablePath Hope this helps Satal