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
[excel] - autofill speed?
Exchange 2010 Enterprise Public Folder
C# -- About Box -- display "Publish Version"
vb.net - get ip address from host
How do I change default accept meeting response to "Do not send response"?
Use DOS Batch File to Expand Wildcard into Filenames
What are the recommended alternatives to the Office Web Components when used in Microsoft Access
blue Screen on windows 2003 sp1
windows server 2003 server hack issue
Getting GPS Latitude and Longitude on Smartphone with vb.net