On Thu, May 9, 2013 at 3:08 PM, Jack Skelley
<[email protected]>wrote:

> Good Afternoon Ted:
> Thanks for the great reply! Some really good info in those links you sent.
> I appreciate your input.
> I still can't figure out why the first doc printed is 'silent' and the
> rest flash the screen. It's not the splash screen as they talk about in the
> links but the actual interface.



Jack:

It's only been thirteen years since I edited "Microsoft Office Automation
with Visual FoxPro" http://www.hentzenwerke.com/catalog/autofox.htm and,
well, you can always count on things from Microsoft changing.

If you are processing a set of documents in a row, you shouldn't need to
recreate the Word application object each time. I think this is a case
where you want to use GETOBJECT on the 2nd and later documents, rather than
CREATEOBJECT once you've started Word, and then Close() the document
(after, as you've noted, a pause for it to queue, or perhaps just close
them all at the end) and Open() a new document and work on that, rather
than have the Automation system start a new version of Word each time.

Now, whether Word behaves well under these circumstances is something
you'll need to test...


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4vet3zhhsvs0fsqj+khbh_9hho5uahze-mxxwktkj9...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to