Register Blogs FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Go Back   DeveloperBarn Forums > Programming & Scripting > ASP Development

Sponsored Links

Discuss "opening excel file" in the ASP Development forum.

ASP Development - Learn coding practices and tips to get the best out of your Active Server Pages (ASP). Visit the ASP Development forum for help with ASP/VBScript and ASP/JScript applications.


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1  
Old March 28th, 2008, 10:50 PM
Barn Frequenter
 
Join Date: Mar 2008
Posts: 197
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
todd2006 is an unknown quantity at this point
Default 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
Sponsored Links
  #2  
Old March 29th, 2008, 01:25 AM
BLaaaaaaaaaarche's Avatar
Moderator
 
Join Date: Mar 2008
Posts: 55
Thanks: 10
Thanked 7 Times in 5 Posts
Rep Power: 1
BLaaaaaaaaaarche is on a distinguished road

Awards Showcase
HTML & CSS Classic ASP 
Total Awards: 2

Default

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  
Old March 30th, 2008, 09:56 AM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 952
Thanks: 22
Thanked 93 Times in 90 Posts
Blog Entries: 6
Rep Power: 4
jmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the rough

Awards Showcase
Microsoft Windows Microsoft SQL Server Microsoft .Net Classic ASP 
Total Awards: 4

Default

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 with me... click the icon!
If my post solved your problem, click the button in the lower right-hand corner of the post.

If you like it here...throw us a few bones to help
support us.

Join our Folding team: DeveloperBarn Folding

  #4  
Old March 31st, 2008, 01:29 PM
sbenj69's Avatar
Moderator
 
Join Date: Mar 2008
Posts: 101
Thanks: 23
Thanked 30 Times in 22 Posts
Rep Power: 1
sbenj69 will become famous soon enough

Awards Showcase
Microsoft Windows Microsoft Access 
Total Awards: 2

Default

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  
Old March 31st, 2008, 09:04 PM
Barn Newbie
 
Join Date: Mar 2008
Posts: 40
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Power: 1
lewy is on a distinguished road
Default

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  
Old April 30th, 2008, 05:36 AM
richyrich's Avatar
Super Moderator
 
Join Date: Mar 2008
Location: Somewhere only we know...
Posts: 460
Thanks: 31
Thanked 43 Times in 43 Posts
Blog Entries: 1
Rep Power: 2
richyrich will become famous soon enoughrichyrich will become famous soon enough

Awards Showcase
JavaScript Classic ASP 
Total Awards: 2

Default

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

  DeveloperBarn Forums > Programming & Scripting > ASP Development

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -4. The time now is 09:46 AM.



Content Relevant URLs by vBSEO 3.2.0