i cant find the MS word even i installed ms word.
Are you sure you followed the correct steps?
1. Open the form in the form designer.
2. Drop an OLE
container control on the form; That's the control to the right of the pageframe control in the forms controls toolbar (
not the OLE bound control).
3. When you see the Insert Object dialogue, select "Create from File". Then navigate to the Word document that you want to edit.
4. Tick the "Link" checkbox, then close the dialogue.
5. When you run the form, you should see a thumbnail of the document. Double-click on it to let the user view, edit, print, save, etc. from within Microsoft Word. If the user makes changes and saves the doc, the changes will be visible in the form.
Alternatively, don't tick the "Link" checkbox in step 4. This will allow the user to open the doc actually in the form, rather than in Word. The disadvantage is the edited document will no longer exist as a separate file, so any changes the user makes cannot be saved.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Visual FoxPro articles, tips and downloads