After designing the form, compile the code and run it. Alternatively, you can run the dtpefy executable file from the EFY-CD. Under 'file' menu, select 'new' to open a new document or 'open' if the document already exists on your system. The program opens the selected file in the background and its name is displayed on the top of the form.
Depending on the number of pages present in the document opened, the pages at the bottom of the form and the page numbers in the gotopage sub-menu are enabled. Note that this program is limited to only four pages, but you can extend it by making certain changes in the code. To open a particular page, select it from the page numbers at the bottom of the form or from page numbers under' go to page' option of 'doc details' menu item. The contents of that page are pasted onto the OLE of the form. Here you can view the document and make changes.
![]()
Before clicking the 'paste back' command button, use CTRL+A and CTRL+C keys from the keyboard, select 'edit' menu bar and choose 'select all' followed by 'copy' option. This copies the OLE contents onto the clipboard. If you want to open another document, do not close the document that's already open. Instead, run the main program again to open the new document. On these Word documents, you can make any change, copy and paste, delete, save, etc as per your requirement.



Reply With Quote
Copyright Techfuels
Bookmarks