Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximizing Word
Message
From
12/05/2000 19:38:33
 
 
To
09/05/2000 09:14:40
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00367585
Message ID:
00369289
Views:
25
Try using oWord.AppMaximize instead of oWord.AppShow

Here are a few others I can remember:
.AppMaximize
.AppMinimize
.AppShow
.AppHide

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform