双击时,打开使用我的方法加密的Word文档 [英] Open Word doc that encrypted with my method when double click on it

查看:86
本文介绍了双击时,打开使用我的方法加密的Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用我的方法加密word文档。

我需要双击word文档解密并打开它。我不使用office的加密命令。

I encrypt word doc with my method.
I need to that when double click on word document decrypt it and open it.I dont use encrypt command of office.

推荐答案

您必须将Word文件扩展名与您的应用程序相关联。这将打开您的解密应用程序,然后您可以解密该文件,但随后您的应用程序将负责使用正确的命令行参数打开Word以打开该文件。



您的解密代码还必须确定文件是否确实已加密,因为您将负责打开所有Word文档,无论它们是否已加密。
The you'll have to associate the Word file extensions with your application. This will have the effect of opening your decryption application where you can then decrypt the file, but then your application will be responsible for opening Word with the correct command line parameters to open the file.

Your decryption code will also have to determine if the file is indeed encrypted because you'll be responsible for opening ALL Word documents, whether or not they are encrypted.


这篇关于双击时,打开使用我的方法加密的Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆