Application path in VB.NET 2002 ?

ASH

Active member
Joined
Nov 20, 2005
Messages
30
Location
Riyadh
Programming Experience
Beginner
Hello,


in vb.net 2003 I am write

VB.NET:
[SIZE=2]
Application.StartupPath
[/SIZE]

to Get Apllication path , what I can do with vb.net 2002 to get Apllication path cos this code make error in 2002 !


Regards,,,
 
System.Windows.Forms.Application class wasn't changed between .Net 1.0 and 1.1. Is this a windows forms project? Else use System.AppDomain.CurrentDomain.BaseDirectory()
 
Back
Top