在一小段时间后关闭任何文件的代码? [英] Code for close any document after fraction of time?

查看:59
本文介绍了在一小段时间后关闭任何文件的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



再一次,我需要你的帮助。我需要编写一个程序代码,就像我下载一个PDF或Word文件的电子邮件时,当我打开它时,它会弹出一个窗口,这个文件只打开25秒。 25秒后该文件应该关闭。



任何人都可以建议我这样做吗?或任何有关它的链接。





谢谢

Dear All,

Once again I need your help. I need to code a program like when I download an email which is an PDF or Word file, when I open it, it will pop-up a window that this document is opened for 25 seconds only. After 25 seconds that document should be closed.

Can any one suggest me the way to do it? Or any link regarding it.


Thanks

推荐答案

为什么不呢将您的文件保存在Web服务器上并通过电子邮件将URL发送给用户?您可以从网页控制查看时间,也可能需要找到不允许下载和内容复制等的安全文件查看器。
why not keep your file on web server and send url to user via email? you can control the time of view from web page and also you may need to find secure file viewer which not allow downloading and content copying etc..


这篇关于在一小段时间后关闭任何文件的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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