Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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

  • faustinegeorgefaustinegeorge Posts: 351Member
    [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.
    :

  • ajusinghajusingh Posts: 8Member
    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.
    : :
    :
    :

  • faustinegeorgefaustinegeorge Posts: 351Member
    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.
    : : :
    : :
    : :
    :
    :

  • ajusinghajusingh Posts: 8Member
    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.
    : : : :
    : : :
    : : :
    : :
    : :
    :
    :

  • faustinegeorgefaustinegeorge Posts: 351Member
    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.
    : : : : :
    : : : :
    : : : :
    : : :
    : : :
    : :
    : :
    :
    :

  • ajusinghajusingh Posts: 8Member
    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.