Convert Jpeg to Pdf "No process is associated with this obje

Post here any questions/suggestions you have about novaPDF SDK or novaPDF OEM.
Post Reply
MegaZver
Posts: 2
Joined: Thu Nov 15, 2012 8:36 am

Convert Jpeg to Pdf "No process is associated with this obje

Post by MegaZver » Thu Nov 15, 2012 9:02 am

I have used sample "CSharp Converter (C#)"

If i try convert *.doc file or some one Microsoft Office document all fine.
But if i try convert *.jpeg or *.html ...
i can see error "No process is associated with this object."

What can i do?

Support
Posts: 223
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania
Contact:

Re: Convert Jpeg to Pdf "No process is associated with this

Post by Support » Wed Nov 21, 2012 5:17 am

The CSharp Converter sample uses the ShellExecute Windows function with the "print" verb to print the files.
In order to be able to print jpeg or html files you have to have some applications associated with these file types. When ShellExecute is called, Windows will call the associated application for the selected file. In Windows 7 for instance, you may see the file type associations in Control Panel, Default Programs, "Associate a file type or protocol with a specific program".

So be sure to associate a program for those extensions and the printing will work.

Post Reply