General information
Category:
ActiveX controls in VFP
Title:
Problems with Acrobat Reader 7
Environment versions
Network:
Windows 2003 Server
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only