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
AutoFill field when a selection is Selected
Vista & PAGE_FAULT_IN_NONPAGED_ARE<wbr />A
SSRS: Default Date
How to create simple FUNCTION SQL and DO FUNCTION CALL
Write Excel Data to Access via ADO - Possible Database Sharing Conflict
MDI Child Layout Issues
Validation Rule
IP change on Win2K Server DC
How to read contents of Macros using VBA
Overcome Excel MAX num of nested if statement