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
Windows Media Player
RIS Image problems
How do you change the default date in a mysql database from US format yyyy-mm-dd to UK format dd-mm-yyyy
Reduce the size of x-axis in Perfmon graph
SCCM: Collection based on Computer Model Query?
HTTP 403.4 (SSL) error AFTER secure logon to OWA
Left Join tables many to many
Subform last record not showing on report
Backups failing due to folder depth on Backup Exec
Asp's Page ViewState