We are using asp.net with c# for the code behind and this web app will be only be used on our intranet, so no outside access. How can I open a picture from a supplied network path that will not popup a dialog box. This picture will be opened in the default windows application (PhotoShop on most machines).
I have tried using Response.AddHeader(Content-Disposition, inline; filename= + file.fullpath);. The problem with this is it only opens it in the current web page.
I have used Response.AddHeader(Content-Disposition, attachment; filename= + file.fullpath);. This however, open a dialog box (not acceptable); also I have read that the application opening the file would not actually know the location of the file but just have a copy in memory.
Is there an easy way to launch a file (jpg/tiff) in the default windows application assigned for that file type.