can't open pdf file from vb script

Discussions about document viewing.
Post Reply
gesteam
Posts: 8
Joined: Mon Mar 02, 2009 3:57 pm

can't open pdf file from vb script

Post by 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

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: can't open pdf file from vb script

Post by 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

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests