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
Exchange Information Store service stops unexpectedly - SBS 2008
System Writer Dissappeared
Error reading from SMTP host in SharePoint
Can't delete user profile of deleted domain account
MS Office VBA References
ADP, Computer Idle Form Reverts?
Need to hire DBA to design simple db for CRUD/Order management and import data from single Access Table.
Separate words in cells
access 2003 package wizard
ASP.NET 2.0 Datalist and Paging