Information générale
Catégorie:
COM/DCOM et OLE Automation
I am using the following.
oWord=creaTEOBJECT("word.basic") &&&open up word
oWord.FileOpen('C:\temp\myfile.doc') &&&&open saved document
oWord.AppShow &&&show the document
When I do this I would like word to open maximized at all times.
I've tried this (oWord.windowstate=1)
but it doesn't work. Unless I use oWord=creaTEOBJECT("word.application"). I don't use the application because when I maximze it and make it visible to the user the toolbars including file, edit etc. are missing.
Is there a way to maximize using word.basic? Or is there a way to get the toolbars to turn on using the word.application?
Thanks in advance,
Todd
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement