How To convert .doc file to .pdf file

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2007
Posts: 41
Reputation: IT_Techno is an unknown quantity at this point 
Solved Threads: 0
IT_Techno IT_Techno is offline Offline
Light Poster

How To convert .doc file to .pdf file

 
0
  #1
Oct 20th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

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

 
0
  #2
Oct 20th, 2008
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.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,160
Reputation: dickersonka will become famous soon enough dickersonka will become famous soon enough 
Solved Threads: 137
dickersonka dickersonka is offline Offline
Veteran Poster

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

 
0
  #3
Oct 20th, 2008
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.
Custom Application & Software Development
www.houseshark.net
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 41
Reputation: IT_Techno is an unknown quantity at this point 
Solved Threads: 0
IT_Techno IT_Techno is offline Offline
Light Poster

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

 
0
  #4
Oct 21st, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

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

 
0
  #5
Oct 21st, 2008
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
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 172
Reputation: Jugortha is an unknown quantity at this point 
Solved Threads: 16
Jugortha Jugortha is offline Offline
Junior Poster

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

 
0
  #6
Oct 29th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

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

 
0
  #7
Oct 29th, 2008
And he already said he didnt want to use a 3rd party library
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 172
Reputation: Jugortha is an unknown quantity at this point 
Solved Threads: 16
Jugortha Jugortha is offline Offline
Junior Poster

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

 
0
  #8
Oct 30th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC