Closed Thread
Results 1 to 6 of 6

Thread: opening excel file

  1. #1
    Barn Loyal todd2006 is an unknown quantity at this point todd2006's Avatar
    Join Date
    Mar 2008
    Posts
    889
    Rep Power
    4

    opening excel file

    Hi,

    I have a drop down on a page where user selects a value and then a excel file opens up

    it works good in mozilla but in IE it doesnt open up the excel file i see a new page been open but then suddenly it closes the file

    i have checked the popus in IE and i dont know what the problem is

    Here is the code

    Code:
    <%
    Response.ContentType ="application/vnd.ms-excel" 
    getid=Trim(Request.querystring("id"))
    Response.write getid
    %>
    

    I see the output written when i use mozilla but it just doesnt work in IE.

    I am using IE 7.0

    any idea

    todd

  2. #2
    Barn Frequenter BLaaaaaaaaaarche will become famous soon enough BLaaaaaaaaaarche will become famous soon enough BLaaaaaaaaaarche's Avatar
    Join Date
    Mar 2008
    Posts
    188
    Rep Power
    5

    Todd, I don't see why it would work in FF and not IE. Is it not working on your machine or someone else's machine? Based upon the code you provided, I don't see where it would be causing that problem.

  3. #3
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Todd, what version of Office is installed on the machine? I think there is a bug with Office 2000 which may cause this problem in IE.
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  4. #4
    Barn Enthusiast sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69's Avatar
    Join Date
    Mar 2008
    Location
    The frigid northern plains
    Posts
    432
    Rep Power
    7

    Have you tried reducing the security for IE7... I've ran into issues where ie7 prevents a page from being displayed or app opened whereas ie6 would open it just fine.

  5. #5
    Barn Frequenter lewy is on a distinguished road lewy's Avatar
    Join Date
    Mar 2008
    Posts
    108
    Rep Power
    4

    Quote Originally Posted by sbenj69 View Post
    Have you tried reducing the security for IE7... I've ran into issues where ie7 prevents a page from being displayed or app opened whereas ie6 would open it just fine.
    The problem with this approach, is that he'd have to ask every user of his to change, their security settings.

    The better option IMO is to 'force' a download of the excel file, they can choose to open
    it but it would be under the Browser's Temp folder.

    If you're interested in this, I have a script that can do this

  6. #6
    Administrator richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere only we know...
    Posts
    3,207
    Blog Entries
    14
    Real Name
    Rich
    Rep Power
    14

    Due to inactivity of 14 days, this thread is deemed abandoned and is now closed. If this thread was marked as "Solved", the orginal poster may mark it as "Unsolved" via the Thread Tools menu, thus re-opening the thread. If this thread was not marked as "Solved", the original poster may re-open the thread via the Thread Tools menu.

    Regards,

    richyrich
    DeveloperBarn Forums Moderator

Closed Thread

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

SEO by vBSEO