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
System.EnterpriseService Error
activex - Modify a textbox.value in a form on a webpage which also has the activex vb6
append from csv
Sending multiple emails
Access: How to write a query with DISTINCT
Vista Offline files 'On Slow Networks Automatically work offline' greyed out
cannot connect new client to SBS 2008 server with launcher.exe
Access Form Validation
Removing apostrohies from exported excel cells
Toshiba M115-S1061 with windows XP that has a hoarse, husky, scattered sound