how to get the application folder path??

thiya

Newcomer
Joined
Apr 22, 2005
Messages
7
hi all:
In my application im using richtextbox control and need to display the word doc in the rich textbox control.
How can i get the application folder path.I am trying to use following code

RTxtEula.FileName = Application.excutablePath & "\EULA.rtf"

but it has pointed the bin folder.

Plz any one help me to overcome the issue.

thanks in advance,
 
Are you looking for something like Environment.GetFolderPath()?
The application will run in the bin folder unless you copy the EXE somewhere else. That is your application's folder.
 
Back
Top