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.

Opening a file.

Thread ID:

Created:

Updated:

Platform:

Replies:

59459 Apr 13,2007 12:38 AM Apr 14,2007 06:18 AM General Discussion 2
loading
Tags: General Discussion
Raghav
Asked On April 13, 2007 12:38 AM

Hi,

I am having a grid, in which there is a column 'Attachment Link'.
This column contains different links.
When a link is clicked, i have to open the file depending on its filetype.

For example if the fle name is A.txt, when i click the link it should be opened in notepad.

If i have a link B.doc, when i click this it should be opened in MS-Word.

I am using 'ShellExecute' for opening this files.

Now when i click a image link say 'DCS009.JPG', it can be opened in InternetExplorer and it is opening fine.

The problem is we are able to open the file but it is Minimized, actually it should be Maximized.

What shall i do to keep it in Maximised state.

It is very urgent.Waiting for appropriate solution.

Thanks
Raghavendra.

Matthew Schneider
Replied On April 13, 2007 11:23 AM

This appears to be a general programming issue, not Syncfusion specific.

Have you tried to adjust the nShowCmd parameter of ShellExecute to indicate that the window should not be minimized?

http://msdn2.microsoft.com/en-us/library/ms647732.aspx

Raghav
Replied On April 14, 2007 06:18 AM

Thank you

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.

;