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
using a query to combine multiple records into one record
No Active Network Adapters Found - Pending Changes may disrupt network Connectivity
Formula to calculate due dates
CreateEventProc error 57017 Event Handler Invalid
Outlook 2007 cannot open folders
Function Design help
32 or 64 bit SQL Server
Reference to Microsoft.SharePoint.Publi<wbr />shing not working (GAC issue?)
MS Access 2003 illustrated guide book
Installing Access 2007 (Runtime) with Office 2003 Professional