General information
Category:
Coding, syntax & commands
Sorry, 'bout that. I _do_ actually have a question!
The following is my code that I would hope would add an olecontrol to a page and display in it a Word doc that exists. The code exectutes but the Olecontrol doesn't show itself, much less the document.
Please help this brain dead soul. TIA
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only