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
TabletServicePen error on Fujitsu tablet pc
Improving as a Programmer
USB device in VMware
Auto populating fields
OWA 2007 Password Change Working with ISA 2006 When it Should Not.
Send/receive fax via ms access
Load analysis services data into an Access table
Access control inside nested gridview
WSUS Running
Error opening excel files: "Windows cannot find 'C:\Users\Ryan\Desktop\xxx<wbr />xexcel file namexxx'.