Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximizing Word
Message
 
 
À
09/05/2000 09:14:40
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00367585
Message ID:
00369289
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform