Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC7.1 C++
Hi
 
I encrypt word doc with my method.
I need to when double click on word document decrypt it and open it.I dont use encrypt command of office.
Posted 13-Nov-12 19:56pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

in this link[^] you will get information about how you can launch your application with specific information.
 
After your application get launched decrypt the file and create a temporary file and then open that file using office application.
 
Keep checking your temporary file whether the file is as any change since the last update. Everytime user save that specific file you will get new saving time. after you received new saving time encrypt your file and store.
 
Also keep checking file lock issue whether the temp file is locked or not. if the file is released delete the temporary document file.
  Permalink  
Comments
khayambehroozy at 16-Nov-12 10:08am
   
Hi dear Mohibur Rashid
I use this solution and help me ,but i think can do it with API programing directly,and want to do solution for it

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



Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 14 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100