Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Acrobat Reader 7
Message
From
25/09/2005 22:50:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Problems with Acrobat Reader 7
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01052908
Message ID:
01052908
Views:
51
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
Map
View

Click here to load this message in the networking platform