Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.NET with Microsoft Word problem.

Status
Not open for further replies.

erixire

Technical User
Jun 4, 2002
72
CA
Hi,

I recently did an application in VB.NET which is using some Microsoft Word objects. I compiled it and everything was fine...until a new version of Microsoft Word was installed on the computer. Is there a way to compile my code so that it is not linked to a specific set of library of Microsoft Word? Because right now, I have to recompile the code with the new library of Microsoft Word. I do not want to have to go to that process for each new version of the this software.

Thanks,
 
I guess not.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
erixire,

If you are going for an early binding, which is what you are doing now, then I think you might have to do a re-compile each time. But if you go with the late binding there won't be an issue of re-compiling each time the new version of word is installed on the computer, but the word launching process will be much slower compared to early binding. You might have to decide which one to go for.

-Kris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top