Error 5

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Error 5

Postby jsung » Tue Jun 22, 2010 11:39 pm

It used to work fine but now I'm getting this error when I run the printer from the application.
I get this message from Bullzip PDF Printer 7.1.0.1195:

An error occurred.
Error 5: Invalid procedure call or argument
Source: GUI
Internal hist: Extract document properties such as title and author

And here's my global.ini:

[PDF Printer]
DisableOptionDialog=yes
Output=C:\ProgramData\ProgramX\Test.pdf
ShowSaveAS = never
ShowSettings = never
ShowPDF = no
ShowProgress = no
ShowProgressFinished = no
ConfirmOverwrite = no
jsung
 
Posts: 2
Joined: Tue Jun 22, 2010 11:34 pm

Re: Error 5

Postby jsung » Thu Jun 24, 2010 12:00 am

I no longer see the error message. But I'm still wondering what might have caused it.

Is anyone familiar with what that error message means?

My guessing it's from this line of code:

axWebBrowser.ExecWB(Print, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref o, ref o);

Our application was running from a remote desktop connection to a Windows Server 2008 R2 server.
jsung
 
Posts: 2
Joined: Tue Jun 22, 2010 11:34 pm

Re: Error 5

Postby jr » Thu Jun 24, 2010 7:13 am

Error 5 is usually some kind of permission problem.

Regards,
Jacob
jr
Site Admin
 
Posts: 491
Joined: Sun Mar 26, 2006 12:28 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron