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
On right click of a folder and select an option need a way to get the description to show on a box
Activate an existing task in the tas scheduler
C# -- Checkbox STATE ?
Outlook rule that filters messages containing words in the subject line
vb.net - get hard drive serial
Can we install SCCM in the same machine where the Domain is setup.
Alter sp in sql 2008
What Is a Good Imaging Software For Installing Windows On Refurbashed Laptops?
Unable to connect to Team Foundation Server
Subreport not showing