Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1763
Number of posts: 4498

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Response.contenttype Posted by ajusingh on 17 Jun 2003 at 2:02 AM
Dear Friends

I'am trying to get the result of my contents as in MS-word format.

I just require the syntax what would be the syntax for that.

Although for getting the result in Ms-excel format the syntax is

<% response.contenttype="application/vnd.ms-excel" %>

so dear friend s anybody of u'r having clue pls help me.

Thanks in anticipation.
Report
Re: Response.contenttype Posted by faustinegeorge on 17 Jun 2003 at 2:41 AM
Response.ContentType = "application/msword" 



HTH
Faustine
--------

: Dear Friends
:
: I'am trying to get the result of my contents as in MS-word format.
:
: I just require the syntax what would be the syntax for that.
:
: Although for getting the result in Ms-excel format the syntax is
:
: <% response.contenttype="application/vnd.ms-excel" %>
:
: so dear friend s anybody of u'r having clue pls help me.
:
: Thanks in anticipation.
:

Report
Re: Response.contenttype Posted by ajusingh on 17 Jun 2003 at 3:01 AM
dear Frd thanx a ton for giving me the reponse
But, i'am encountering a problem like of virus coming up as soon as i use this script, or if try to give hyperlink to the Word document, then again it shows the same problem .
Althugh my PC is totaly Virus scanned, and using NOrtan Anitivirus 2003
Version of my explorer is 6.0
Is it a problem of explorer pls help me.

:
: Response.ContentType = "application/msword" 
: 

:
:
: HTH
: Faustine
: --------
:
: : Dear Friends
: :
: : I'am trying to get the result of my contents as in MS-word format.
: :
: : I just require the syntax what would be the syntax for that.
: :
: : Although for getting the result in Ms-excel format the syntax is
: :
: : <% response.contenttype="application/vnd.ms-excel" %>
: :
: : so dear friend s anybody of u'r having clue pls help me.
: :
: : Thanks in anticipation.
: :
:
:

Report
Re: Response.contenttype Posted by faustinegeorge on 17 Jun 2003 at 4:11 AM
Don't understand what you mean by "virus coming up".Could you elaborate a bit ? Are you using the FSO in the asp page ?

Faustine
---------

: dear Frd thanx a ton for giving me the reponse
: But, i'am encountering a problem like of virus coming up as soon as i use this script, or if try to give hyperlink to the Word document, then again it shows the same problem .
: Althugh my PC is totaly Virus scanned, and using NOrtan Anitivirus 2003
: Version of my explorer is 6.0
: Is it a problem of explorer pls help me.
:
: :
: : Response.ContentType = "application/msword" 
: : 

: :
: :
: : HTH
: : Faustine
: : --------
: :
: : : Dear Friends
: : :
: : : I'am trying to get the result of my contents as in MS-word format.
: : :
: : : I just require the syntax what would be the syntax for that.
: : :
: : : Although for getting the result in Ms-excel format the syntax is
: : :
: : : <% response.contenttype="application/vnd.ms-excel" %>
: : :
: : : so dear friend s anybody of u'r having clue pls help me.
: : :
: : : Thanks in anticipation.
: : :
: :
: :
:
:

Report
Re: Response.contenttype Posted by ajusingh on 17 Jun 2003 at 9:24 PM
My Pc is showing Virus alert as soon i'am opening webpage containing DOC pages
Wht do u mean by FSO, pls elaborate
: Don't understand what you mean by "virus coming up".Could you elaborate a bit ? Are you using the FSO in the asp page ?
:
: Faustine
: ---------
:
: : dear Frd thanx a ton for giving me the reponse
: : But, i'am encountering a problem like of virus coming up as soon as i use this script, or if try to give hyperlink to the Word document, then again it shows the same problem .
: : Althugh my PC is totaly Virus scanned, and using NOrtan Anitivirus 2003
: : Version of my explorer is 6.0
: : Is it a problem of explorer pls help me.
: :
: : :
: : : Response.ContentType = "application/msword" 
: : : 

: : :
: : :
: : : HTH
: : : Faustine
: : : --------
: : :
: : : : Dear Friends
: : : :
: : : : I'am trying to get the result of my contents as in MS-word format.
: : : :
: : : : I just require the syntax what would be the syntax for that.
: : : :
: : : : Although for getting the result in Ms-excel format the syntax is
: : : :
: : : : <% response.contenttype="application/vnd.ms-excel" %>
: : : :
: : : : so dear friend s anybody of u'r having clue pls help me.
: : : :
: : : : Thanks in anticipation.
: : : :
: : :
: : :
: :
: :
:
:

Report
Re: Response.contenttype Posted by faustinegeorge on 17 Jun 2003 at 9:50 PM
FSO is short for FileSystemObject .We use it to do anything with files on the server.If you are using it , the virus alert you are getting it could be because of it. You already said that you have Norton running in your system .
So if you are using FSO, try turning "Script Blocking " off in your Norton control panel.Don't know why, there has been a lot of questions along these lines here in a short while.

HTH
Faustine
--------

: My Pc is showing Virus alert as soon i'am opening webpage containing DOC pages
: Wht do u mean by FSO, pls elaborate
: : Don't understand what you mean by "virus coming up".Could you elaborate a bit ? Are you using the FSO in the asp page ?
: :
: : Faustine
: : ---------
: :
: : : dear Frd thanx a ton for giving me the reponse
: : : But, i'am encountering a problem like of virus coming up as soon as i use this script, or if try to give hyperlink to the Word document, then again it shows the same problem .
: : : Althugh my PC is totaly Virus scanned, and using NOrtan Anitivirus 2003
: : : Version of my explorer is 6.0
: : : Is it a problem of explorer pls help me.
: : :
: : : :
: : : : Response.ContentType = "application/msword" 
: : : : 

: : : :
: : : :
: : : : HTH
: : : : Faustine
: : : : --------
: : : :
: : : : : Dear Friends
: : : : :
: : : : : I'am trying to get the result of my contents as in MS-word format.
: : : : :
: : : : : I just require the syntax what would be the syntax for that.
: : : : :
: : : : : Although for getting the result in Ms-excel format the syntax is
: : : : :
: : : : : <% response.contenttype="application/vnd.ms-excel" %>
: : : : :
: : : : : so dear friend s anybody of u'r having clue pls help me.
: : : : :
: : : : : Thanks in anticipation.
: : : : :
: : : :
: : : :
: : :
: : :
: :
: :
:
:

Report
Re: Response.contenttype Posted by ajusingh on 18 Jun 2003 at 3:38 AM
thnx aton
: FSO is short for FileSystemObject .We use it to do anything with files on the server.If you are using it , the virus alert you are getting it could be because of it. You already said that you have Norton running in your system .
: So if you are using FSO, try turning "Script Blocking " off in your Norton control panel.Don't know why, there has been a lot of questions along these lines here in a short while.
:
: HTH
: Faustine
: --------
:
: : My Pc is showing Virus alert as soon i'am opening webpage containing DOC pages
: : Wht do u mean by FSO, pls elaborate
: : : Don't understand what you mean by "virus coming up".Could you elaborate a bit ? Are you using the FSO in the asp page ?
: : :
: : : Faustine
: : : ---------
: : :
: : : : dear Frd thanx a ton for giving me the reponse
: : : : But, i'am encountering a problem like of virus coming up as soon as i use this script, or if try to give hyperlink to the Word document, then again it shows the same problem .
: : : : Althugh my PC is totaly Virus scanned, and using NOrtan Anitivirus 2003
: : : : Version of my explorer is 6.0
: : : : Is it a problem of explorer pls help me.
: : : :
: : : : :
: : : : : Response.ContentType = "application/msword" 
: : : : : 

: : : : :
: : : : :
: : : : : HTH
: : : : : Faustine
: : : : : --------
: : : : :
: : : : : : Dear Friends
: : : : : :
: : : : : : I'am trying to get the result of my contents as in MS-word format.
: : : : : :
: : : : : : I just require the syntax what would be the syntax for that.
: : : : : :
: : : : : : Although for getting the result in Ms-excel format the syntax is
: : : : : :
: : : : : : <% response.contenttype="application/vnd.ms-excel" %>
: : : : : :
: : : : : : so dear friend s anybody of u'r having clue pls help me.
: : : : : :
: : : : : : Thanks in anticipation.
: : : : : :
: : : : :
: : : : :
: : : :
: : : :
: : :
: : :
: :
: :
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.