Content type

Results 1 to 2 of 2

Thread: Content type

  1. #1
    Join Date
    Dec 1969

    Default Content type

    How can I define a content type of a file in my asp code so that it opens the link in the application after launching it rather than opening the application in the browser.<BR>Plaese Help!!!!

  2. #2
    Join Date
    Dec 1969

    Default RE: Content type

    Well, first off, you need to know the content-type. Say that it is ms-application/excel (although I highly doubt that this is the valid content-type).<BR><BR>Then, all you need to do is:<BR><BR>Response.Buffer = True<BR>Response.ContentType = "ms-application/excel"<BR><BR>at the top of your ASP code and you&#039re off and running! :-)<BR><BR>Happy Programming!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts