Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / September 2005

Tip: Looking for answers? Try searching our database.

Automation against multiple MS Word versions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Evan Stone - 15 Sep 2005 21:06 GMT
If one is developing a .NET application, how can I develop an application
that uses COM automation that targets multiple versions of Word? For
example, the signature for the Document.Open method is different from
version 9 to version 11 (and I'm sure there are other variations as well),
and I'm wondering if there's some easy way to deal with it.

At present I'm only concerned with supporting 9-11 (i.e. Word 2000, XP, and
2003), though I'd like to be flexible enough to deal with future versions as
well. How are developers dealing with this sticky situation now?

evan stone | software engineer
----------------------------------------
santa rosa, ca, usa
Ken Tucker [MVP] - 16 Sep 2005 01:12 GMT
Hi,

           I believe the next version of word will save the files in xml
format.  I would make a xml word document.  That way you are not dependant
on word being installed. If the user isnt using word 2003 or later I would
transform the xml to an rtf.  Just my 2 cents worth.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_wd2003_ta/h
tml/odc_WD_VBNETtoRTF.asp


http://www.microsoft.com/downloads/details.aspx?familyid=fe118952-3547-420a-a412
-00a2662442d9&displaylang=en


Ken
----------------
> If one is developing a .NET application, how can I develop an application
> that uses COM automation that targets multiple versions of Word? For
[quoted text clipped - 11 lines]
> ----------------------------------------
> santa rosa, ca, usa

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.