dynamic .dll reference?

B

Brian Mitchell

Hello, I have an application that uses word automation and everything is
working perfectly. However, I have one potential issue



1) I am using Office XP on my machine to design the app, however I
realize that not everyone will have that version of Office and thus won't
have the version 10 interop .dll. Is there any way to iterate through the
available assemblies on the system and dynamically reference them (instead
of explicitly adding a reference in the designer)?



I want to make sure that if someone is using Office 2000 it will reference
version 9 and office 2003 will be 11.



Thanks for the help!!
 

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