General information
Category:
COM/DCOM and 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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only