Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word 2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00700072
Message ID:
00700121
Vues:
12
Hi!

The code sample is directly pasted from the help file - it is in Visual basic for MS Word. I think it is not a problem to convert it to VFP code...

>>Hi!
>>
>>I see your point. This always was a big prblem in automating MS Word.
>>Is there any way to avoid that dialog?
>
>I haven't found a way of preventing the dialog yet.
>
>>
>>Also, I just looked to MS Word 2000 objects model help and see following:
>>
>>
>>WindowState Property Example
>>
>>This example maximizes the active window if it's not maximized or minimized.
>>
>>If ActiveDocument.ActiveWindow _
>>    .WindowState = wdWindowStateNormal Then _
>>    ActiveDocument.ActiveWindow.WindowState = wdWindowStateMaximize
>>
>>
>>As you see, each document has such thing as ActiveWindow, that could be minimized separately.
>
>For some reason this caused the cleaver copy and pasting I was doing to crash so I will have to investigate further.
>
>Thanks for the help.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform