Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp and word
Message
 
À
14/11/2000 04:40:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00428455
Message ID:
00441819
Vues:
18
I've resorted to the following using a Macro as a workaround in MSWORD.

I'm unsure as to how wise it is to invest any more time in getting Word 6
to cooperate, as it does not seem to implement OLE in the easiest or
most consistent way. Can anyone tell me what version of WORD was
the first to have OLE Browser and more reliable OLE capacity?

oWord = CREATEOBJECT("Word.Basic") && Load BASIC functions
oWord.AppShow()
oWord.AppMaximize()
oWord.FileNewDefault()
oWord.ToolsMacro("Legal",1) && See Legal macro Wordbasic contents below
oWord.FileprintPreview() && check it out.

; WordBasic macro
Sub MAIN
FilePageSetup .ApplyPropsTo = 4, .PageHeight = "14in"
End Sub
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform