Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Templates
Message
From
11/01/2000 18:12:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word Templates
Miscellaneous
Thread ID:
00316551
Message ID:
00316551
Views:
48
Is there a trick in creating a document based on a template that won't become visible by default.
I am issuing
oWord = create("Word.Application")
odoc = oWord.Documents.Add("<>)

The first thing it does is load a session of word visibly with the "Document 1" doc I just spawned. Is there anyway to disable this default behaviour?
I could copy the file, then do all the OLE updating I want, without the user seeing anything, but I'd rather work off a template so that certain macros and tool bars are available without putting them in the normal.dot. Get all that... Probably more of a question for MS, but I doubt they know...
It probably has something to do with the fact that the newly spawned, (don't know why I'm using that word, haven't been fishing lately),
document isn't really a file yet, only in memory, therefore Word has to handle it visibly.

Thanks in advance...

Gary B.
Next
Reply
Map
View

Click here to load this message in the networking platform