I am using the web browser control and the adobe plug in to display images inside my app. Actually, I'm trying to replace a viewing software with adobe.
I need to be able to display and print pdf's easily.
When I open a pdf that is in landscape format, adobe opens it in portrait, so it's sideways. I need to be able to fit it to the page and rotate it in the correct orientation programatically.
Some time ago, someone here, helped me out with this code:
oShell = Createobject("wscript.shell")
oShell.SendKeys("^+{+}")
oShell.SendKeys("^+{0}")
This has a couple problems. It works only twice, then it no longer works, without closing my app completely then re-opening it. Plus it activates a virus scan warining, since it is a script. I could maybe live with the virus scan warning, if I had to.
Any ideas or optional methods?