在没有保护模式的情况下从vb6应用程序打开pdf文件 [英] open pdf file from vb6 application without protect mode

查看:176
本文介绍了在没有保护模式的情况下从vb6应用程序打开pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上好,

我正在尝试使用vb6应用程序打开PDF.我正在使用api ShellExecute:

ShellExecute hwnd,打开","c:\ temp \ report.pdf",vbNullString,vbNullString,SW_NORMAL

它可以正常工作,但是当我调用funcion时出现一个带有关于保护模式的3种选择的消息框时,有一些参数要传递给shellexecute来绕过此对话框?
谢谢

Good Evening,

I''m try to open a PDF with a vb6 application. I''m using then api ShellExecute:

ShellExecute hwnd, "open", "c:\temp\report.pdf", vbNullString, vbNullString, SW_NORMAL

it work but when I call the funcion appear a messagebox with 3 choice about protect mode, there is some parameters to pass to shellexecute to bypass this dialog box?
thank you

推荐答案

此问题仅在vb6的调试会话期间出现,可执行的工作正常.
This problem appears only during debug session of vb6, executable work correct.


这篇关于在没有保护模式的情况下从vb6应用程序打开pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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