Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Does anyone know if there's a way to determine/test whether or not there is a default application installed on the user's computer that will open an exported file? In other words, I have a Crystal Reports project/application developed from ASP.NET, that exports any given report to a PDF or Excel format, and works beautifully. One thing I'd like to be able to handle, though is when the user doesn't have a default viewer/reader/etc. available to download or view the exported file. In such cases, the user is prompted to download a .ASPX file.

 

Is there anyway in .NET to determine whether there is a default program available to open or save a given type of exported file? Thanks in advance! :D

3,450,897,223 posts away from crazy...
Posted

Derek:

Thanks for the heads-up. Incidentally, is there a way to do it in a VB.NET Windows application? I know I won't be able to use it in my ASP.NET app, but at least I'll know for future reference. Thanks! :cool:

3,450,897,223 posts away from crazy...

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...