Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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
 
Old March 2nd, 2005, 11:58 AM
Authorized User
 
Join Date: Mar 2004
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Word Document to PDF

I'm trying to figure out how I can dynamically convert a MS Word file to a PDF file. Since this will be a hosted solution I don't want Word to open everytime a conversion needs to take place. Does anyone have any ideas on how to do this? Is it even achievable?
 
Old April 28th, 2005, 09:25 AM
Authorized User
 
Join Date: Apr 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default


http://www.neevia.com/developer/

http://www.neevia.com/pricing/?prodid=DP50PRO

Its gonna cost you but once you have the driver thingy you can do it straight from code...

 
Old July 19th, 2013, 04:53 AM
Registered User
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, you can convert Word file to a PDF file in .NET like this:

Code:
// Convert Word file (DOCX) to PDF in C#.
DocumentModel.Load("Document.docx").Save("Document.pdf");

' Convert Word file (DOCX) to PDF in VB.NET.
DocumentModel.Load("Document.docx").Save("Document.pdf")
I used this .NET Word component which has a free version.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dot net - Converting word to pdf and pdf to word Manoah Classic ASP Basics 2 July 7th, 2008 10:21 PM
Open pdf document ppenn Access VBA 1 February 20th, 2007 12:31 PM
Dynamic PDF Document Generation nialljpmurphy J2EE 4 March 27th, 2006 07:13 PM
How do you Display a pdf document peterf VB How-To 8 May 25th, 2005 01:56 AM
PDF Document Import helga Pro VB 6 1 September 20th, 2004 08:29 PM





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