Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Acrobat Reader 7
Message
From
25/09/2005 23:00:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01052908
Message ID:
01052910
Views:
7
Ideas about what? Does it work, or doesn't it?

>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform