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
Outbound mail from Small Business Server 2003
a couple of date/time questions
Microsoft's Network Security
Offline files Synchronization
How to change Caption of Header at Runtime?
Get MAX number from a text field
How install DLL to GAC on Windows Server 2008 Standard
Webservice task in SSIS using Script Task
Invalid Certificates and Settings with Exchange 2007 SP2 Autodiscover
unzip