Solved

Populate Word Document on Server and return PDF to client

Posted on 2009-05-15
3
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 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