User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C# section within the Software Development category of DaniWeb, a massive community of 397,813 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,573 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C# advertiser:
Views: 4710 | Replies: 3
Reply
Join Date: Oct 2006
Posts: 4
Reputation: asifjavaid is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
asifjavaid asifjavaid is offline Offline
Newbie Poster

Help How to make doc to pdf converter in .NET 2005?

  #1  
May 2nd, 2007
hi guys ,
hope you are all fine.

i want to created MS word doc file to pdf file converter in MS Visual Studio 2005..
can any one help me what will be the procedure to develop such a thing?

Waiting for good reply...

Asif Javaid Chughtai.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to make doc to pdf converter in .NET 2005?

  #2  
May 4th, 2007
To get a good reply, start with a good question. What steps have you already taken? Are you familiar with the PDF spec? Are you willing to use a 3rd party library? If so, COM or .NET? What's your budget?
Reply With Quote  
Join Date: Apr 2004
Location: Tracy
Posts: 743
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Rep Power: 7
Solved Threads: 32
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: How to make doc to pdf converter in .NET 2005?

  #3  
May 23rd, 2007
you could try pimoPDF lets you print your word documents into a PDF format
!!!!! WARNING YOUR COMPUTER MAY BE INFECTED WITH SPYWARE!!!! PAY AN OVER PRICED AMMOUNT TO HAVE SOMTHING FIXED WE PLACED THERE IN THE FIRST PLACE!!!!!!!!!

sound familiar, know how to block yourself and keep yourself clean.
_____________________
http://www.lavasoftusa.com/ -->adaware
http://www.safer-networking.org/en/index.html -->spybot S&D
http://www.javacoolsoftware.com/spywareblaster.html -->spywareblaster
http://www.javacoolsoftware.com/spywareguard.html -->spywareguard
_____________________
and dont forget to spread the reputation to those that deserve!
Reply With Quote  
Join Date: Aug 2007
Posts: 3
Reputation: fchivu is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
fchivu fchivu is offline Offline
Newbie Poster

Re: How to make doc to pdf converter in .NET 2005?

  #4  
Sep 3rd, 2007
The HTML to PDF Converter library for .NET 2.0 or the RTF to PDF converter for .NET from Winnovative Software is a good option. The integration with your ASP.NET application should be instant. There are samples for windows forms, ASP.NET and console both in C# and VB.NET that should help.


You can download it from http://www.dotnet-reporting.com (or from http://www.winnovative-software.com is the same).


The converter has also some interesting new features like the possiblity to encrypt/password protect your document, pdf merge capabilities, etc. All the conversion can be performed with a few lines of code:



PdfConverter pdfConverter = new PdfConverter();
// set the converter options
pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
pdfConverter.PdfDocumentOptions.PdfCompressionLevel = PdfCompressionLevel.Normal;
pdfConverter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
pdfConverter.PdfDocumentOptions.ShowHeader = false;
pdfConverter.PdfDocumentOptions.ShowFooter = false;



// Performs the conversion and get the pdf document bytes that you can further
// save to a file or send as a browser response
byte[] pdfBytes = pdfConverter.GetPdfFromUrlBytes(urlToConvert);

// send the PDF document as a response to the browser for download
System.Web.HttpResponse response = System.Web.HttpContext.Current.Response;
response.Clear();
response.AddHeader("Content-Type", "binary/octet-stream");
response.AddHeader("Content-Disposition",
"attachment; filename=ConversionResult.pdf; size=" + pdfBytes.Length.ToString());
response.Flush();
response.BinaryWrite(pdfBytes);
response.Flush();
response.End();
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C# Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C# Forum

All times are GMT -4. The time now is 6:30 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC