Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp and word
Message
 
To
14/11/2000 04:40:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00428455
Message ID:
00441819
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform