Response.contenttype

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.

Comments

  • [code]
    Response.ContentType = "application/msword"
    [/code]


    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.
    :

  • 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.

    : [code]
    : Response.ContentType = "application/msword"
    : [/code]
    :
    :
    : 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.
    : :
    :
    :

  • 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.
    :
    : : [code]
    : : Response.ContentType = "application/msword"
    : : [/code]
    : :
    : :
    : : 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.
    : : :
    : :
    : :
    :
    :

  • 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.
    : :
    : : : [code]
    : : : Response.ContentType = "application/msword"
    : : : [/code]
    : : :
    : : :
    : : : 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.
    : : : :
    : : :
    : : :
    : :
    : :
    :
    :

  • 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.
    : : :
    : : : : [code]
    : : : : Response.ContentType = "application/msword"
    : : : : [/code]
    : : : :
    : : : :
    : : : : 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.
    : : : : :
    : : : :
    : : : :
    : : :
    : : :
    : :
    : :
    :
    :

  • 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.
    : : : :
    : : : : : [code]
    : : : : : Response.ContentType = "application/msword"
    : : : : : [/code]
    : : : : :
    : : : : :
    : : : : : 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.
    : : : : : :
    : : : : :
    : : : : :
    : : : :
    : : : :
    : : :
    : : :
    : :
    : :
    :
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories