Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Programming
 EXP Systems Forum : PDF reDirect : Programming
Topic: Convert2PDF doc-file produce an error Post Reply Post New Topic
Author Message
sfsoeren
Newbie
Newbie
Avatar

Joined: 24 Apr 08
Location: Denmark
Posts: 4
Quote sfsoeren Replybullet Topic: Convert2PDF doc-file produce an error
    Posted: 14 Nov 13 at 7:51AM

I keep getting An Error Occured: Error Number = 0 DLL Error Number =0

when trying to convert a .doc using Convert2PDF.

The script is actually creating the pdf and it looks fine, but it gives me above error anyway.

It seems like it is related to the oPDF.Utility_Open_PDF, where rtn = 0 even though the file has been created (and passed the CheckFileCreated)

 

Steps to reproduce the bug:

 

1. have created a word doc

2. run Convert2PDF (changed the script a bit where I open the existing doc-file and prints it to BatchPDF)

3.

Results: a PDF version of the doc

Expected Results: This is indeed produced, but I still get an error. (Error Number = 0 DLL Error Number =0)

IP IP Logged
sfsoeren
Newbie
Newbie
Avatar

Joined: 24 Apr 08
Location: Denmark
Posts: 4
Quote sfsoeren Replybullet Posted: 14 Nov 13 at 7:54AM
Just a quick remark.
It works fine using Version 2.2.5 (even though the PDF isn't really nice), whereas using Version 2.5.2 I get above error - but it does produce a nice looking PDF.
IP IP Logged
Michel_K17
Moderator Group
Moderator Group
Avatar
Forum Administrator

Joined: 25 Jan 03
Posts: 1673
Quote Michel_K17 Replybullet Posted: 08 Dec 13 at 3:22PM
Hi,

Sorry to hear that. I re-tested my code, and it works OK for me.

Can you try the (unmodified) demo code I include with the ActiveX? Does the error occur for that too?

Cheers!

Michel

P.S. Sorry for the very late reply. The forum posting got stuck in my spam folder.
Michel Korwin-Szymanowski
EXP Systems LLC
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum