943,535 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 7180
  • C# RSS
Oct 20th, 2008
0

How To convert .doc file to .pdf file

Expand Post »
Hi
anybody know how to convert a doc file to pdf using c# code
i need to create my owne application i donot want to use any one at internet

Best Regards,
IT_Techno
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
IT_Techno is offline Offline
41 posts
since Dec 2007
Oct 20th, 2008
0

Re: How To convert .doc file to .pdf file

If you dont want to use anyone on the internet, why would you be asking us? Arent we on the internet too?

The simple answer is you would need to read up on PDF format, as well as then the microsoft word format, and work from there.

Most people would use a PDF printer however.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Oct 20th, 2008
0

Re: How To convert .doc file to .pdf file

It is wayyy to complicated to convert a doc to pdf, if you are just wanting to use your own code. I agree with LizR, use a pdf printer. You can use Ghostscript PDF Printer and call through code. I have also used pdf995. The pdf spec is fairly complicated and isn't something that you can just code in a short amount of time.
Reputation Points: 133
Solved Threads: 141
Veteran Poster
dickersonka is offline Offline
1,162 posts
since Aug 2008
Oct 21st, 2008
0

Re: How To convert .doc file to .pdf file

hi
Sorry LaziR iam bad English speaker i do not mean anyone i mean any ready programe at internet to convert

and thank you to reply

Best Regards
Reputation Points: 10
Solved Threads: 0
Light Poster
IT_Techno is offline Offline
41 posts
since Dec 2007
Oct 21st, 2008
0

Re: How To convert .doc file to .pdf file

Then you need to do a heck of a lot of reading about the file format from word in its many versions, as well as a lot on how to write out PDF files.. Both will be a long and hard journey
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Oct 29th, 2008
0

Re: How To convert .doc file to .pdf file

Ok, IT_Techno there is a library that could helps you to perform your task

The iTextSharp

Here is a tutorial how to use it to convert your own document to pdf files within your own application

Tutorial
http://itextsharp.sourceforge.net/tutorial/index.html
Last edited by Jugortha; Oct 29th, 2008 at 1:55 pm.
Reputation Points: 11
Solved Threads: 16
Junior Poster
Jugortha is offline Offline
172 posts
since Oct 2007
Oct 29th, 2008
0

Re: How To convert .doc file to .pdf file

And he already said he didnt want to use a 3rd party library
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Oct 30th, 2008
0

Re: How To convert .doc file to .pdf file

Yes I know lizR, but anyway, this assembly could be nested to the hole application, or better he could reverse it and try to build his own assembly based on idea found there, may be it will be a suitable solution for him
Reputation Points: 11
Solved Threads: 16
Junior Poster
Jugortha is offline Offline
172 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: How to add whole column in combobox
Next Thread in C# Forum Timeline: how to communicate with applications





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC