Click here to Skip to main content
15,886,860 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I want to know how to handle word perfect document using code.

as we open word document,create new and save that document using Office Interop Assemblies.

so for word perfect what i want to do, or where i need to start.

i just want to open existing document and make password protected that using my code.


please help me...


i have already use its com library but i get com error for accessing this...

C#
WordPerfect.ApplicationClass _App = new WordPerfect.ApplicationClass();
WordPerfect.DocumentClass _Doc = new WordPerfect.DocumentClass();
WordPerfect.PerfectScriptClass _PScript = new WordPerfect.PerfectScriptClass();
WordPerfect.ScriptClass sc = new WordPerfect.ScriptClass();
Posted
Comments
Herman<T>.Instance 14-Feb-12 11:08am    
showing the com exception might help too.
ZurdoDev 14-Feb-12 13:17pm    
Do you have the COM library registered on your machine? If you are getting an error why would you not share it with us?
Tejas Vaishnav 14-Feb-12 23:11pm    
I have install word perfect in my PC, so i think it will register that com library automatically.
Tejas Vaishnav 14-Feb-12 23:13pm    
The file that i add a referance to my project is com library named "wpwin15.tlb"
and it will create a "Interop.WordPerfect.dll" at runtime...

now what i do..?
ZurdoDev 24-Feb-12 14:23pm    
What is the error?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900