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
Create Database for freeform answers
Disabling Tintsetp.exe, ImScInst.exe, IMJPMIG.exe
Winscp - SSH, canoot get real path
Exchange 2010 Edge Transport
Custom Site Definition
Login failed for user 'sa'. Reason: Password did not match that for the login provided.
Removing Hidden attribute from file
Search and replace text containing superscripts in Word
vba code to go to a clear the content of a text box and move cursor to that text box
Access Copy Paste Table from Excel