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
Access 97 tables corrupted after conversion to 2003
Filtering Access Report
How to do DoCmd.RunSql Select? Need to get values from table into VBA variables
Remove DELETE permissions but still allow MOVE
unattendedjoinx.exe
Make Vertical Scroll Bar Always Visible on Datasheet Subform
Access vba split address field into 4 columns
OnClick event reset me.fsub List Box
IP Addresse change
How to write a language independent formula using Excel Object Library