Click here to Skip to main content
Sign Up to vote bad
good
See more: VC7.1C++
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 - 18:56


1 solution

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 - 16 Nov '12 - 10:08
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 286
1 Mohammed Hameed 208
2 Sergey Alexandrovich Kryukov 188
3 Santhosh G_ 108
4 Mayur_Panchal 98
0 Sergey Alexandrovich Kryukov 8,216
1 OriginalGriff 6,271
2 CPallini 3,528
3 Rohan Leuva 2,703
4 Maciej Los 2,234


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