Microsoft
Software
Hardware
Network
Question : How to get application path in VB.NET ?
Hi,
I have an XML file in my application root directory. I want to read that file. The following commands gives me .../Bin/Debug also. But i do not need that.
System.Environment.Current
Directory(
)
Application.StartupPath()
If my application directory is this : "C:\Test", then i do not want "C:\Test\Bin\Debug". I do need only "C:\Test"
Can you please provide me sample code ?
Thanks
Answer : How to get application path in VB.NET ?
TRy this
Application.StartupPath.re
place("bin
\Debug", "")
Random Solutions
Populating Combo Values
Which to choose Standard & Premium CALs
SQL 2008 time(7) data type and Classic ASP code
How do I find a value in an Excel matrix using column and row headers?
windows vista drivers compbatt.sys missing status 0xc0000098
Why do I get "Database is invalid" Errors
GPF in module MSARN200.EXE
SQL query to get database log file size
How to copy Selected items from one list box t oanother list box after the button insert is clicked
Access - Set warnings (Why is it automatically off)