>I think that I read somewhere that when you use OLE with Word you have to do something extra to close Word when you are done. Am I dreaming??
>
Word's application object might like a .Quit, followed by releasing all object references to it.
>I have looked in the MSDN lib for some help on OLE commands with Word but I can not find much there. Does anyone know of a good source for that?
>
The Office2000 documentation, part of the MSDN, has the entire Word2000 object model in it. Try the topic
Word 2000 object model in the Index tab of MSDN. There are examples here in the FAQ and Files (at a minimum, download
#542 Word Basic argument positions and
#854 Word 97 Constants), the FFC contains some samples like the MailMerge class, there have been a ton of articles in FoxTalk and FoxPro Advisor, and any number of good texts that cover programming Office using VBA. The transition between VBA and VFP isn't overwhelming in most cases.