Ask a Question related to Dreamweaver AppDev, Design and Development.
-
James Brown #1
ASP detail page to Word Document (ASP/VBScript)
Hi there.
I have a dynamic details page that I want to output into a word document.
Can anyone pint me in the right direction for some sample scripts or
tutorials on how to get this working. It is a controlled envoriment running
IIS/MSOffice/IE.
Regards
James Brown
James Brown Guest
-
Go to next from detail page
Hi I have a detail page that comes off a search results page and I want to be able to link to the next record in the results list. Does anyone... -
Can I open a page as a popup using GOTO DETAIL PAGE
ok, i have posted this before but i didnt get any response. I have failed to find an answer anywhere else. I want to open a GOTO DETAIL page... -
Characters overlapping in pdf document created from a Word document
We are using Adobe Acrobat 6.0, Word and Excel 2002 and Windows 2000. We create a portion of a document in Word and a portion in Excel. Then we print... -
Go to Detail page
Can anyone tell me the best and easiest way to pass URL parameters when clicking on a forms submit button. If I use the "Go to Detail Page"... -
Need to access a WORD document via ASP page
Does anyone know how to access a WORD document using ASP? I have a few users that fill in fields in a WORD document and I need to be able to open... -
bthouin #2
Re: ASP detail page to Word Document (ASP/VBScript)
Just add the following 2 lines in the <body> section of your page:
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition",
"attachment;filename=MyDocument.doc"
You will then see a dialog window coming up, asking you if you want to
open or save the "MyDocument.doc" Word document... Open it, and you have
your page in Word in front of you...
It's magic (courtesy MS, for once), and it works beautifully...
Of course, you can add some control to the process after that, with some
question to the user before doing the output to Word.
Bernard
James Brown wrote:> Hi there.
>
> I have a dynamic details page that I want to output into a word document.
> Can anyone pint me in the right direction for some sample scripts or
> tutorials on how to get this working. It is a controlled envoriment running
> IIS/MSOffice/IE.
>
> Regards
>
> James Brown
>
>bthouin Guest
-
James Brown #3
Re: ASP detail page to Word Document (ASP/VBScript)
WOW Bernard, this is Magic! just what I wanted. Thank you very much!
James :):):)
"bthouin" <bernard_thouin@bluewin.ch> wrote in message
news:d1emkl$kdj$1@forums.macromedia.com...document.> Just add the following 2 lines in the <body> section of your page:
>
> Response.ContentType = "application/msword"
> Response.AddHeader "Content-Disposition",
> "attachment;filename=MyDocument.doc"
>
> You will then see a dialog window coming up, asking you if you want to
> open or save the "MyDocument.doc" Word document... Open it, and you have
> your page in Word in front of you...
>
> It's magic (courtesy MS, for once), and it works beautifully...
>
> Of course, you can add some control to the process after that, with some
> question to the user before doing the output to Word.
>
> Bernard
>
> James Brown wrote:> > Hi there.
> >
> > I have a dynamic details page that I want to output into a wordrunning> > Can anyone pint me in the right direction for some sample scripts or
> > tutorials on how to get this working. It is a controlled envoriment> > IIS/MSOffice/IE.
> >
> > Regards
> >
> > James Brown
> >
> >
James Brown Guest
-
bthouin #4
Re: ASP detail page to Word Document (ASP/VBScript)
You're welcome...
James Brown wrote:> WOW Bernard, this is Magic! just what I wanted. Thank you very much!
>
> James :):):)
>
>
> "bthouin" <bernard_thouin@bluewin.ch> wrote in message
> news:d1emkl$kdj$1@forums.macromedia.com...
>>>>Just add the following 2 lines in the <body> section of your page:
>>
>>Response.ContentType = "application/msword"
>>Response.AddHeader "Content-Disposition",
>>"attachment;filename=MyDocument.doc"
>>
>>You will then see a dialog window coming up, asking you if you want to
>>open or save the "MyDocument.doc" Word document... Open it, and you have
>>your page in Word in front of you...
>>
>>It's magic (courtesy MS, for once), and it works beautifully...
>>
>>Of course, you can add some control to the process after that, with some
>>question to the user before doing the output to Word.
>>
>>Bernard
>>
>>James Brown wrote:
>>>>>Hi there.
>>>
>>>I have a dynamic details page that I want to output into a word
> document.
>>>>>Can anyone pint me in the right direction for some sample scripts or
>>>tutorials on how to get this working. It is a controlled envoriment
> running
>>>>>IIS/MSOffice/IE.
>>>
>>>Regards
>>>
>>>James Brown
>>>
>>>
>
>bthouin Guest



Reply With Quote

