Click here to Skip to main content
15,898,374 members
Home / Discussions / C#
   

C#

 
QuestionHow can i convert all types of files to pdf format without using any software? Pin
sush822-Jul-10 22:54
sush822-Jul-10 22:54 
JokeRe: How can i convert all types of files to pdf format without using any software? Pin
Łukasz Nowakowski22-Jul-10 23:05
Łukasz Nowakowski22-Jul-10 23:05 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
sush822-Jul-10 23:26
sush822-Jul-10 23:26 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
Łukasz Nowakowski22-Jul-10 23:31
Łukasz Nowakowski22-Jul-10 23:31 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
Sauro Viti22-Jul-10 23:32
professionalSauro Viti22-Jul-10 23:32 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
Eddy Vluggen22-Jul-10 23:39
professionalEddy Vluggen22-Jul-10 23:39 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
sush822-Jul-10 23:50
sush822-Jul-10 23:50 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
Dave Kreskowiak23-Jul-10 1:48
mveDave Kreskowiak23-Jul-10 1:48 
You cannot do this without third party libraries. Since your code will never know the format of every type of file, and therefore cannot understand how to print it to a PDF file itself, you have to rely on the application for every file type. This is also impossible because you cannot have the application for every file type installed nor does every application expose a COM interface for your application to use it.

You're going to have to limit your scope to a known subset of file types in order to do this to any degree of success.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
Eddy Vluggen23-Jul-10 2:04
professionalEddy Vluggen23-Jul-10 2:04 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
sush823-Jul-10 7:12
sush823-Jul-10 7:12 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
Eddy Vluggen23-Jul-10 7:41
professionalEddy Vluggen23-Jul-10 7:41 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
sush824-Jul-10 1:21
sush824-Jul-10 1:21 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
Eddy Vluggen24-Jul-10 1:43
professionalEddy Vluggen24-Jul-10 1:43 
GeneralRe: How can i convert all types of files to pdf format without using any software? Pin
sush824-Jul-10 3:53
sush824-Jul-10 3:53 
AnswerRe: How can i convert all types of files to pdf format without using any software? Pin
Sauro Viti22-Jul-10 23:09
professionalSauro Viti22-Jul-10 23:09 
Questioncode for checkbox Pin
kolisa22-Jul-10 21:58
kolisa22-Jul-10 21:58 
AnswerRe: code for checkbox Pin
Goutam Patra22-Jul-10 22:25
professionalGoutam Patra22-Jul-10 22:25 
AnswerRe: code for checkbox Pin
Samuel Cherinet23-Jul-10 3:26
Samuel Cherinet23-Jul-10 3:26 
QuestionHow to display treeview selected items in listbox in C# windows application? Pin
rakesh28023322-Jul-10 21:17
rakesh28023322-Jul-10 21:17 
AnswerRe: How to display treeview selected items in listbox in C# windows application? Pin
Peace ON22-Jul-10 21:31
Peace ON22-Jul-10 21:31 
Questionentity conversion in c# Pin
varsh1222-Jul-10 21:01
varsh1222-Jul-10 21:01 
AnswerRe: entity conversion in c# Pin
Peace ON22-Jul-10 21:25
Peace ON22-Jul-10 21:25 
GeneralRe: entity conversion in c# Pin
varsh1223-Jul-10 0:45
varsh1223-Jul-10 0:45 
GeneralRe: entity conversion in c# Pin
Peace ON23-Jul-10 4:19
Peace ON23-Jul-10 4:19 
QuestionHow to make a Windows application active after minimize or closed Pin
Krishna Varadharajan22-Jul-10 20:16
Krishna Varadharajan22-Jul-10 20:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.