Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web browser control and adobe
Message
De
21/07/2004 15:23:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Web browser control and adobe
Divers
Thread ID:
00926729
Message ID:
00926729
Vues:
51
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:
		**following works intermittenly to rotate and fit to screen
		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?
Répondre
Fil
Voir

Click here to load this message in the networking platform