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
Control Panel Icons - Windows XP
How to restart a thread in mfc
IIS Windows Server 2008 Application Pools
C#. Symbol LS9203 bar code scanner. Making a device output to a single text box.
Response.Redirect is not working properly in the server?
Test for internet connection
General MS Graph problems in Access 2007
ORA-12514 TNS:listener does not currently know of service requested in connect (yet agian?)
Reporting service login prompts pops up when deploying reprots on SSRS 2008
Drop Down List and Back Button on Browser - Losing state?