We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Bar Item - Open file

Thread ID:

Created:

Updated:

Platform:

Replies:

20607 Oct 21,2004 11:16 AM Oct 22,2004 02:30 PM Windows Forms 1
loading
Tags: Tools
Josh
Asked On October 21, 2004 11:16 AM

I would like to have a menu item open a document in whatever editor windows has set for it. When I click on a BarItem, I have a file path I want to give it and it open the file in the default editor. Do the syncfusion controls have a parameter or something I can pass it to allow me to do so?

Administrator [Syncfusion]
Replied On October 22, 2004 02:30 PM

Hi Josh, I am not sure if I understand your requirements correctly. I assume that you would like to open files in windows by giving the path. You can do that by 1) Getting the path using the OpenFileDialog. 2) Open the file System.Diagnostics.Process.Start("Path"); This will open the file using the application that is registered with windows. Best regards, Stephen. >I would like to have a menu item open a document in whatever editor windows has set for it. When I click on a BarItem, I have a file path I want to give it and it open the file in the default editor. Do the syncfusion controls have a parameter or something I can pass it to allow me to do so?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;