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. Image for the cookie policy date
close icon

Opening a file.

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.

2 Replies

MS Matthew Schneider April 13, 2007 03:23 PM UTC

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


RA Raghav April 14, 2007 10:18 AM UTC

Thank you

Loader.
Live Chat Icon For mobile
Up arrow icon