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
Silverlight app (IIS6) is unable to serve my .svc file
Outlook 2003 Add-In
How do i display Chinese Simplified properly in VFP9 ?
Passing CDIalog to a thread
Memory Leak using CObArray
vs 2008 and 2 pc's
FOREACH LOOP - DOS
Set Trigger for Birthdate
tvwChild not declared error when using treeview in vb.net
Sql Non Disctinct possibility ?