how can i define application path  
Author Message
RonBolton





PostPosted: Wed Feb 02 00:46:50 CST 2005 Top

Visual Basic [VB] >> how can i define application path

dear all,

how can i defaine the application path to vb.net

please help me

--



Regards


K R Lal
Luxor

Visual Studio151  
 
 
Ken





PostPosted: Wed Feb 02 00:46:50 CST 2005 Top

Visual Basic [VB] >> how can i define application path Hi,

Here is how to get the application path.

Public Function AppPath() As String

Return
System.IO.Path.GetDirectoryName(Reflection.Assembly.GetEntryAssembly().Location)

End Function



Ken
--------------------



dear all,

how can i defaine the application path to vb.net

please help me

--



Regards


K R Lal
Luxor



 
 
Cor





PostPosted: Wed Feb 02 04:13:49 CST 2005 Top

Visual Basic [VB] >> how can i define application path Lal,

application.startuppath
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsapplicationclassstartuppathtopic.asp

I hope this helps?

Cor


 
 
Herfried





PostPosted: Wed Feb 02 06:09:14 CST 2005 Top

Visual Basic [VB] >> how can i define application path
> how can i defaine the application path to vb.net

Ignore the text and take a look at the code:

<URL:http://dotnet.mvps.org/dotnet/code/application/#ApplicationPath>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>