Determine if OWC is installed

R

rwallacej

firstly, how can I check if OWC is installed at the launch of a VB.net
form?

the program uses OWC10, and if the user doesn't have office web
components installed it seems to "crash" with no info - I'd like to
give user some "nice message" to say they need OWC (rather than just
have it in the Help documentation which users often don't read....)


secondly, which DLLs do I need to include in installer for application?
The program opens an Excel spreadsheet (an XML file) and displays in on
a form


thanks
 
A

Alvin Bruney [MVP]

Google this newsgroup for "sniffer routine", the code should be there.
Applications never crash when an activex control can't be located, the
browser simply renders an empty box. Your crash is caused by improper code.
Because of licensing issues, you can't *install the OWC for your client, the
best you can do is point them to the installation source or office web site.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top