需要使用vb.net在Web浏览器中关闭PDF [英] Need to close PDF in Web Browser using vb.net

查看:95
本文介绍了需要使用vb.net在Web浏览器中关闭PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个VB.Net应用程序,在此我将向最终用户展示其工作之前的工作证明.这工作得很好,但是我需要发布.pdf文件,以便可以将其重写以得到第二或第三证明.过去,我只是创建文件v1,然后创建v2等...,但是我试图将应用程序扩展到无法再添加版本号的区域.如何使用VB.Net中的Web浏览器释放Adobe或.pdf文件上的锁?

Have a VB.Net application where I am showing the end user a proof of their work before proceeding. This has worked great, but I need to release the .pdf file so I can rewrite it for a 2nd or 3rd proof. In the past I just create file v1, then v2 etc..., but I''m trying to expand the application into an area where I can no longer add a version number. How do I release Adobe or the lock on the .pdf file using the Web Browser in VB.Net?

推荐答案

您必须关闭Adobe Reader,或者关闭任何用来向用户显示PDF.您不能强制释放文件上的锁定.
You have to close Adobe Reader, or whatever you''re using to show the PDF to the user. You cannot force the release of the lock on the file.


^ ]可能会为您提供帮助.
this[^] might help you.


这篇关于需要使用vb.net在Web浏览器中关闭PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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