Loading...

can't open pdf file from vb script

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

can't open pdf file from vb script

Postby gesteam » Mon Mar 02, 2009 4:30 pm

Hi,

From a vb script, opening any pdf file with DisplayFromFile or DisplayFromPdfFile *end* the script with no error.
Tracing with vbsEdit show same result.
Script end on the DisplayFromFile call.
gdPicture pro v 5.10.0.11 (downloaded 02/23/2009)

Script vbs to try :

Set oGdViewer = CreateObject("gdpicturepro5.GdViewer")
ok = oGDViewer.SetLicenseNumber("----")
oGdViewer.LockControl = true
filePath = "d:\ocr.pdf"
status = oGdViewer.DisplayFromFile(filePath) ' script end here, no error !
MsgBox "after DisplayFromFile"
n = oGdViewer.PageCount

We need to make OCR on pdf file created by scanner or fax system, or received by email from different sources.

Thanks,
Regards,

Thierry Hauchard
Gesteam
gesteam
 
Posts: 3
Joined: Mon Mar 02, 2009 3:57 pm

Re: can't open pdf file from vb script

Postby Loïc » Tue Mar 03, 2009 10:51 am

Hi,

You found a bug ! I will publish a fixed release within few days.

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests