Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing parameters from web form to word document.

Status
Not open for further replies.

LovelyGirl

Programmer
Oct 13, 2001
12
QA
Hi there,,,
I'm trying to find a way to open a specific word document to be edited by passing parameters from web form to MS word.
What I'm trying to do is the following:
at my organaization we have a ready form (paper) for example for sieckleave we have to fill it with the name, job number, job title, job number, job title, section name and department name of the employee.
Now we want do it within our intranet.
I think I have to declare variables in the MS word to handle the parameters from the web form. If Yes how?
or do yo have another idea?

Thanks in advance.
 
there's a lot of questions like yours in this forum, and I have also been surprised that no one really know how to successfully integrate word and asp.net.

dlc
 
I can tell you why I didn't respond. I can't really speak for anyone else.

I've just never needed to integrate Word with ASP.NET. It seems "wrong" to my mindset. Word is a user application, residing on a local system. Web apps are stateless apps run in a browser, and are primarily and fundamentally server-driven.

So when faced with the need to serve a form for the user to fill out, I don't even think in terms of a Word document. There are already established methods for serving forms on the web, either in pure HTML, or through a PDF document, for example. They work quite well.

At least in my case, then, it isn't that I "don't know the answer", rather, it's that the question itself seems alien to me.



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
I am in the process of developing something very similar to this.

My thought would be have the user input the information on a web form. When they click save, it could save the records to a database and/or create a word document/pdf at that point.

The user would never need to see the document, these would be accessed by the business office.

At the end of the process the documents could be emailed to who ever needed them.

Jason Meckley
Database Analyst
WITF
 
Hi there,,
I want to apologize for being late.
I had had sugery ):
Anyway tahnks alot to all of you.
I'll do it with the the HTML, it seems easier and does the same job.
And I'll try to persuade my bose about it.

Thanks again.
 
I don't agree that just because you don't have a need to integrate Word with asp.net, that it would be "wrong" to do it.

Actually, Word is an application, but word documents are not. PDFs are fine as long as you have more than a reader - which many people do not.

If you use word documents in your system and want everyone to have access to them, why would you convert everything over to another program? I am struggling with a similar problem on my system. We have about 200 or so documents that we need everyone to have access to and would like them to be able to access them on our intranet, instead of having to print many "books".

I finally have it working (not as I would like), but will be looking into other solutions that others have suggested on this forum.

But it would be a pain to have to convert everything whenever we make changes to another format, just so we can use it on our intranet.

Tom.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top