1) Add a reference in your Visual Studio project to docCreator library.
To do this:
a. On the Project menu, click Add Reference;
b. On the COM tab, locate docCreator Library and then click Select;
c. Click OK in the Add References dialog box to accept your selections.
2) Add a reference in your Visual Studio project to Corel WordPerfect.
To do this:
a. On the Project menu, click Add Reference;
b. On the COM tab, locate Corel WordPerfect and then click Select;
c. Click OK in the Add References dialog box to accept your selections.
3) Configure WordPerfect like recommended below:
- type dcomcnfg in the command prompt and press Enter;
- find and select WordPerfect.Script in the Applications list, then press the Properties button;
Note: If you have Windows 2003\2008 then type dcomcnfg in the command prompt, expand the Component Services group, expand the Computers group, expand the My Computer group, expand the DCOM Config group, find and select the WordPerfect.Script->right mouse click->Properties.
- click the Identity tab. Check the "This user" checkbox, press Browse and specify the Administrator account;
- enter and re-enter the Administrator password;
- click the Security tab. Check the "Use custom access permissions" checkbox, press Edit and add the ASPNET, IUSR_ and IWAM_ user accounts;
Note: If you have Windows 2003\2008 also add the "NETWORK SERVICE" user account;
- check the "Use custom launch permissions" checkbox, press Edit and add the ASPNET, IUSR_ and IWAM_ user accounts;
Note: If you have Windows 2003\2008 also add the "NETWORK SERVICE" user account;
- reboot the computer;