Interfacing with Word

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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 ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
==================================================

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

Would you please reply here to let us know the status of this post? Thanks.


Regards,
Walter Wang ([email protected], 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.
 
Back
Top