Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add a Word olecontrol and load with a file
Message
From
23/04/1998 13:55:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Programmatically add a Word olecontrol and load with a file
Miscellaneous
Thread ID:
00094373
Message ID:
00094373
Views:
80
IF .NOT. EMPTY( cDoc ) .AND. FILE ( cDoc )

this.addobject('oOLEobj','olecontrol','word.basic' )
this.oOLEobj.FileOpen( cDoc )
this.oOLEobj.left = 2
this.oOLEobj.Top = 60
this.oOLEobj.height = this.parent.pageHeight - 60
this.oOLEobj.width = this.parent.pageWidth - 4
this.oOLEobj.refresh()
this.oOLEobj.Visible = .t.

ENDIF
Next
Reply
Map
View

Click here to load this message in the networking platform