Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with Acrobat Reader 7
Message
 
 
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:
01052913
Views:
7
What line of code it hangs on?
>
>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform