Convert Jpeg to Pdf "No process is associated with this obje
Convert Jpeg to Pdf "No process is associated with this obje
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?
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?
-
- Posts: 286
- Joined: Wed Dec 16, 2009 12:46 pm
Re: Convert Jpeg to Pdf "No process is associated with this
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.
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.