Click to See Complete Forum and Search --> : sending a word doc as attachment


shakunthala
November 19th, 2001, 09:01 AM
Hello

I a beginner of web technology..can any one guide me..on the below problem

We have a set of forms...to be filled...but the thing is the forms are predesigned in word 2000 format...and stored in the server...i need to provide links to open the word form...fill in ans send the form to concerned person..

i have no probs in providing links and opening the doc...i know i can send the doc as an attachments using macro's...but i don't want to go for that..i need to open the doc in one frame
and in another frame i need to have a save,send button..the save has to allow me to save the doc on my local machine...and on clicking the send button the doc should go as an attached file..in a mail...i am supposed go in for html and jsp for the above stuff...can i do so..without going in for macros..

if yes..pls do guide me..

with regards
shaks





shaku

Manish Malik
November 19th, 2001, 10:11 AM
I guess:

The "Save As" dialog box of IE can be brought up on clicking a link via JAVASCRIPT/VBSCRIPT. This is a client-side action, so all you need to do it to find a snippet (search for it; if you don't find it, tell us) of JavaScript code that'd open the Save As dialog on the local machine.

Getting back with reply regarding mail attachment within an hour. (in a hurry now...) :-)


Manish
http://www.manishmalik.com

Manish Malik
November 19th, 2001, 01:22 PM
ok. Continuing my previous mail - my guess at understanding what you want with sending-as-attachment is that:

The user fills in the form. Now he/she clicks on the Send button, and the Form, along-with filled values is sent via the user's e-mail client as an attachment to your address ?

Is that what you want?


Manish
http://www.manishmalik.com