Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
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
Posted
Comments
ZurdoDev 19-Jul-13 10:13am    
What's the exact message?
cclaudio 19-Jul-13 10:30am    
"adobe reader is not able to open the file in protected mode system configuration. Open Adobe Reader with Protected Mode disabled?"

and the choice are:
- open with protect mode disable
- open always
Collapse | Copy Code
with protect mode disable - not open

I hope it is correct because the message is in italian. I have a vb6 application (not mine) that open this file without ask this.

thank you

1 solution

This problem appears only during debug session of vb6, executable work correct.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900