Daspoo Posted August 11, 2003 Posted August 11, 2003 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 Quote 3,450,897,223 posts away from crazy...
*Gurus* Derek Stone Posted August 12, 2003 *Gurus* Posted August 12, 2003 No, not from ASP.NET. Quote Posting Guidelines
Daspoo Posted August 12, 2003 Author Posted August 12, 2003 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: Quote 3,450,897,223 posts away from crazy...
*Gurus* Derek Stone Posted August 13, 2003 *Gurus* Posted August 13, 2003 Query HKEY_CLASSES_ROOT. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.