C# .NET - how to convert doc files - Asked By daniel caetano on 07-Nov-06 01:46 PM

to pdf files using asp .net and c# code.

For example: I have a doc file in disk, but i don´t want the user to open it , so i have in runtime to convert it at pdf file , open it in the browser and then in user´s action he can print  without editing it.

Is that possible?? What the easiest way to do it??

Thanks for helping me.

convert doc files to pdf - K Pravin Kumar Reddy replied to daniel caetano on 08-Nov-06 12:21 AM

hello

check out Word to pdf converter

links

this one is easy

http://www.oardc.ohio-state.edu/library/word_to_pdf.html

tools to convert

http://www.primopdf.com/

http://www.pdf-convert.com/doc2pdf/

http://www.download.com/PrimoPDF/3000-10743_4-10575974.html?tag=lst-0-1

http://www.expresspdf.com/

Regarding your Word to pdf problem - Ajay Arora replied to daniel caetano on 22-Nov-06 04:05 AM

hello daniel,

Its very easy to convert your word document  to pdf using C#.net for windows application, as i havnt used this thing for web application. all you have to convert your word document to metadata and then convert this metadata to pdf , infact you can convert this metadata to anyformat like jpg, bitmap  or text file etc.

or the simplest way is u can search for iText for java online free library for creating pdf from various formats. just add referecne to this library and you are done.


Hope this will solve your problem

Ajay Arora

conversion - ashwin kumar replied to daniel caetano on 15-Sep-08 05:27 AM

I have a doc file in disk, but i don´t want the user to open it , so i have in runtime to convert it at pdf file , open it in the browser and then in user´s action he can print  without editing it.
Thorne replied to Ajay Arora on 15-Feb-10 02:40 PM
Telling us it is easy is not a solution. Do you know of anyone who has actually done this and there examples of how to do this?

TCS
jason rle replied to daniel caetano on 05-Aug-10 11:48 PM
Try to use Spire.Doc (http://www.e-iceblue.com/Introduce/word-for-net-introduce.html) - it is http://www.e-iceblue.com/Introduce/word-for-net-introduce.htmlcomponent that supports convert doc files to pdf files.I use it long time, may help to you.
Gopi Kishan replied to Gopi Kishan on 18-Aug-10 01:48 AM
even i also want to convert doc to pdf through C# using itextsharp.dll file, this dll we hav to add refference inour appn write pdf creator functions. if anyone knows pls try in ur pc N sendme the entire code to gopikishan.may9@gmail.com
ansar replied to Ajay Arora on 10-Jan-11 05:53 AM
can you have some examples for converting metadata to pdf file
ansar replied to K Pravin Kumar Reddy on 10-Jan-11 05:57 AM
these are all tools that converts the pdf or doc files . we want the programatical approach to convert a doc file to pdf
minal replied to daniel caetano on 28-Jan-11 09:29 AM
 svvsdv sdff sfdff sfdfsf
Rol Smith replied to ashwin kumar on 03-Dec-12 10:40 PM
fdga