Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with Acrobat Reader 7
Message
De
25/09/2005 22:50:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Problems with Acrobat Reader 7
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01052908
Message ID:
01052908
Vues:
53
Hi,

I just installed Acrobat Reader 7 and now a form that I have with the MS web viewer control to display PDFs hangs up. I was using version 6 and it was fine.

I'm using this code from Sergey if I'm not mistaken:

LPARAMETERS tcPDF_File

WAIT WINDOW NOWAIT "Loading PDF ..."
Thisform.oWB.OBJECT.Navigate2("About:Blank")
lnSeconds = SECONDS()
DO WHILE Thisform.oWB.OBJECT.Busy AND SECONDS() - lnSeconds < 60
DOEVENTS
ENDDO

Thisform.oWB.OBJECT.Navigate2(Thisform.oParam.PdfFileName)

lnSeconds = SECONDS()
DO WHILE Thisform.oWB.OBJECT.Busy AND SECONDS() - lnSeconds < 60
DOEVENTS
ENDDO
WAIT CLEAR


Any ideas?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform