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
Please increase performance of this extremely slow sql statement
Export Customised Vba Toolbars
How to close excel file from Macro?
win7 most recent documents
Before Update Event in Combo Box Cancel event
Adding more rules to outlook - third part or outlook options
Custom Order By
Internet Explorer is broken!!!
Disable / enable custom menu items
OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction