Re: office 2000 compatibility



Hi =?Utf-8?B?SmVycnkgTg==?=,

> There was another add-in project written in C# that used the approach I
> talked about. The team of developers had various versions of Office
> installed on their machines depending on what they were developing. I can't
> say how well that approach worked since I just started on this project in the
> last 2 weeks.
>
this approach can work. It's not ideal as soon as you start dealing with
"plug-ins", such as MS Graph, WordArt, et.al. because these things allow only
ONE version on a machine. But as long as you're dealing only with the core, it
should be OK.

You do want to be certain you've set the COM reference to the earliest *.olb
library, and that you're actually automating that earlier version. I can't
stress this enough when Word 2000 is in the equation, especially if Events are
part of what you're doing.

I've never heard of a "Developer's Guide" for Office 2000. there's a
Programmer's Guide, but since that predates .NET by a few years, I'm not sure
how useful you'll find it. For the COM interfacing in an Addin, you're better
off relying on the information you find on MSDN. Tom Winters also has a web-site
where he's posted a sample or two. Also look for posts by Dave Thielen in these
office.developer newsgroups, as he's done quite a bit of work in this area and
has been kind enough to share the results of his headaches :-)

As far as dealing with the Word object model goes, IMO the best book yet written
was the Word 2000 VBA Programmer's Reference from Wrox. "Writing Word Macros"
from O'Reilly isn't too bad, either, if you're starting from scratch. The best
book on automating the Word interface from outside VBA is "Microsoft Office
Automation with Visual FoxPro" by Tamar Granor. Don't let the VFP in the title
throw you off, it's a tremendous work, based on very thorough research, that
covers a lot of ground very concisely.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • RFD: comp.os.integrity
    ... world-wide unmoderated Usenet newsgroup comp.os.integrity. ... There is currently no specific Usenet forum for discussion of Green ... Hill's INTEGRITY realtime operating system and related technical issues. ... INTEGRITY developers. ...
    (comp.arch.embedded)
  • Re: Not a valid windows ce application
    ... This will be far more likely to get a useful response if posted to a ... newsgroup for developers. ... I sure saw at least one newsgroup that looks appropriate. ... >it seems install framework and app. ...
    (microsoft.public.pocketpc)
  • Re: I Nominate this NewsGroup
    ... MS does not prefer that dotnet developers resort to the API. ... >I want to nominate this newsgroup is THE MOST RESPONSIVE newsgroup on the ... > What does this mean for the VB6 community in comparison with the .NET ...
    (microsoft.public.vb.winapi)
  • Re: Why does VS mark files as changed?
    ... > assemblies that are used in multiple solutions. ... However, this newsgroup ... >> We have multiple developers in our company who are working on different ... >> compiler, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [RFC] Add kernel<->userspace ABI stability documentation
    ... developers. ... Honestly, despite what the ASCII fetish crowdmay say, Solaris got it ... right by just exporting C structs. ... to make ABI breaking changes when they're dealing with a struct instead ...
    (Linux-Kernel)