Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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,

  • Leaders
Posted

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.

[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...