Professional Web Applications Themes

Word/Excel needed?? - ASP.NET General

If i'm using : Response.ContentType = "application/vnd.ms-excel" or Response.ContentType = "Application/msword" Response.WriteFile(FilePath) Does the user have to have Word and Excel installed on the client box to view the files in IE6?? And if so, and they don't have a full version of Word, will this ContentType fire up the free Word viewer automatically for viewing?? TIA much! Harry...

  1. #1

    Default Word/Excel needed??

    If i'm using :

    Response.ContentType = "application/vnd.ms-excel"

    or

    Response.ContentType = "Application/msword"
    Response.WriteFile(FilePath)

    Does the user have to have Word and Excel installed on the client box to
    view the files in IE6??
    And if so, and they don't have a full version of Word, will this ContentType
    fire up the free Word viewer automatically for viewing??

    TIA much!

    Harry


    Harry Guest

  2. #2

    Default Re: Word/Excel needed??

    You could specify it as a RTF (rich text) with "application/rtf"

    You may want to do a little client-side sniffer.. in a try/catch javascript
    function, try to instantiate MS Word or excel (you could look up in the
    registry what the progid's are..).. if you can't instantiate a programatic
    version - then you know it's not installed and handle it accordingly..



    "Harry Simpson" <net> wrote in message
    news:phx.gbl... 
    ContentType 


    Frank Guest

  3. #3

    Default Re: Word/Excel needed??

    It think the Word viewer should take over if Word is not on the machine. You
    may run into some security settings on some browsers, depending on the zone.

    --
    Microsoft MVPs have a question for *you*: Are you patched against the Worm?
    http://www.microsoft.com/security/security_bulletins/ms03-026.asp



    "Harry Simpson" <net> wrote in message
    news:phx.gbl...
    If i'm using :

    Response.ContentType = "application/vnd.ms-excel"

    or

    Response.ContentType = "Application/msword"
    Response.WriteFile(FilePath)

    Does the user have to have Word and Excel installed on the client box to
    view the files in IE6??
    And if so, and they don't have a full version of Word, will this ContentType
    fire up the free Word viewer automatically for viewing??

    TIA much!

    Harry



    Ken Guest

Similar Threads

  1. Convert a .PDF to Excel or Word?
    By Scott_Schapiro@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 3
    Last Post: June 4th, 10:23 PM
  2. word and excel
    By Sam in forum PHP Development
    Replies: 3
    Last Post: September 19th, 05:52 PM
  3. How do you get Word/Excel Toolbars to appear
    By Twicki webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 5
    Last Post: July 21st, 05:47 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139