By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,336 Members | 2,307 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,336 IT Pros & Developers. It's quick & easy.

Interfacing with Word

P: n/a
I have a program that needs to produce reports in Microsoft Office Word. I
have Word 2007 installed on my computer. I add a COM reference to the
Microsoft Word Object Library to my program, but when I deploy the program to
a client with an earlier version of Word, they are unable to run the report.
What should I do to develop software that supports multiple versions of Word?
Install several versions of Office on my computer, or only the earliest?
Apr 24 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

Using earlier interop version should work on later version, but not vice
versa.

You can also try using late binding instead of early binding as this KB
described: http://support.microsoft.com/kb/304661/
References:

#INFO: Develop Microsoft Office solutions with Visual Studio .NET
http://support.microsoft.com/kb/311452/
#SafeCOMWrapper - Managed Disposable Strongly Typed safe wrapper to late
bound COM - The Code Project - C# Programming
http://www.codeproject.com/csharp/safecomwrapper.asp

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 25 '07 #2

P: n/a
Hi,

Would you please reply here to let us know the status of this post? Thanks.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 30 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.