在没有保护模式的情况下从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.