Solved

Populate Word Document on Server and return PDF to client

Posted on 2009-05-15
3
282 Views
Last Modified: 2013-11-07
Hi all,
I have a long standing VSTO solution that populates a form that is a word document and this opens on a client machine. This solution however needs upgrading and I am sure there is a more efficient way to do this.

I have in mind a dot net page that can manuipulate the XML from an empty form (n.b. empty, not blank - the word document is a lot of formatting and contains bookmarks for the data). This then saves the word xml on the server somewhere and then a pdf convertor (not sure which one as yet), converts the word file giving the client  a 'save as' dialogue to save the document.

Please can you offer any advice on the more appropriate tools or components to perform this with? My main concern is to preserve the formatting of the original word document in the xml ' template'

regards,
rich

0
Comment
Question by:crich
3 Comments
 
LVL 5

Expert Comment

by:prashantagarw10
ID: 24395336
Consider using PDF forms that can be filled by users. They also come in 2 varities where in users may save the filled data or they may not. If you want the user to email you the filled forms or if the form is big enough to be not filled in one sitting then probably you are looking for PDF forms that can be saved.
You will need to create the form file once for all and then users can download the file to their PC, fill it and email back to you. You dont need any application or program butjust one PDF file placed on your webserver.
0
 
LVL 9

Accepted Solution

by:
cdaly33 earned 250 total points
ID: 24395351
ABCPDF is a great tool for converting Word documents in to PDF's on the fly.  They have a full featured trial you can download to see if it works for you.

On a second note though, is it required that your template stay as a Word document on the server?  I use PDF form templates all the time and I haven't found a feature yet that Word could do that a PDF form template couldn't.  This way you'd just be stamping your values in the PDF template and saving off the finished PDF.

http://abcpdf.com/

0
 

Author Closing Comment

by:crich
ID: 31581900
Yes I think the best solution here would be to not even have the word doc on the server. Thanks!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now