Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Templates
Message
De
11/01/2000 18:12:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word Templates
Divers
Thread ID:
00316551
Message ID:
00316551
Vues:
47
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform