use \temp\wtest && Fields (wf g) oform = createobject("form") with oForm .addobject("olbW","Oleboundcontrol") .height = 420 .width = 620 with .olbW .top = 10 .left = 10 .height = 400 .width = 600 .controlsource = "wtest.wf" && Embedded word doc .object.saveas("c:\temp\testsave.doc") && saved to disk endwith .removeobject("olbW") .AddObject('cmdCommand1','cmdMyCmdBtn') && Add Command button .AddObject("oleObject","oleWordObject") && Add OLE object .cmdCommand1.Visible=.T. && Display the "Quit" Command button .oleObject.DoVerb(-1) && -1 for Edit .Show && Display the form endwith READ EVENTS && Start event processing DEFINE CLASS oleWordObject as OLEControl OleClass ="Word.document.8" && Server name OleTypeAllowed = 0 && Linked DocumentFile = "C:\temp\testsave.doc" && This file created from embedded ENDDEFINE DEFINE CLASS cmdMyCmdBtn AS CommandButton && Create Command button Caption = '\<Quit' && Caption on the Command button Cancel = .T. && Default Cancel Command button (Esc) Left = 1 && Command button column Top = 1 && Command button row Height = 25 && Command button height PROCEDURE Click CLEAR EVENTS && Stop event processing, close form ENDPROC ENDDEFINEYou'll notice "quit" button and form seem useless. They're there to demonstrate OLEObject working in background. W/o them operation would be transparent to user.