Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
| Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 5th, 2008, 06:00 AM
Registered User
 
Join Date: Dec 2008
Location: ,MH,India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default convert HTML File to PDF file in vb.net

hello,
How do i convert my html file into pdf file with/without using third party tool.

please, help me.

  #2 (permalink)  
Old December 5th, 2008, 12:37 PM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

There isn't anything built into the .Net framework, so basically you'll end up writing your own third party tool.

/- Sam Judson : Wrox Technical Editor -/
  #3 (permalink)  
Old May 24th, 2012, 10:03 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A good html to pdf third party tool is the hiqpdf html to pdf converter . There is an online demo and a link to demo source code.
  #4 (permalink)  
Old December 12th, 2013, 05:12 AM
Registered User
Points: 21, Level: 1
Points: 21, Level: 1 Points: 21, Level: 1 Points: 21, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: convert HTML File to PDF file in vb.net

Hi, here is another VB.NET Word tool which I believe you will find very easy to use and work with. For example here is a VB.NET sample code to convert HTML file into a PDF file in .NET:
Code:
' Convert HTML file into a PDF file.
DocumentModel.Load("HTML file.html", LoadOptions.HtmlDefault).Save("PDF file.pdf", SaveOptions.PdfDefault)
  #5 (permalink)  
Old June 16th, 2014, 02:33 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is a PDF library from ExpertPDF. They offer easy to use tools and some sample codes to convert HTML to PDF in .net. Check more information about it here: http://www.html-to-pdf.net/html-to-pdf-vbnet.aspx


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert html to pdf file by using asp.net in c# dey.susanta.kolkata ASP.NET 2.0 Professional 4 September 19th, 2016 07:20 AM
Convert PDF, Word file to HTML Snowby PHP How-To 0 March 18th, 2008 08:08 AM
convert html file to pdf kanwaldeep ASP.NET 1.0 and 1.1 Professional 0 October 25th, 2007 11:50 AM
Save PDF file as text file in VB.Net kvenkatu Classic ASP Basics 0 April 7th, 2006 01:09 PM
save a PDF file as text file through VB. NET kvenkatu VB.NET 0 April 6th, 2006 12:15 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.