DeveloperBarn Forums

Go Back   DeveloperBarn Forums > Programming & Scripting > ASP Development

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). The Classic ASP forum is for ASP/VBScript and ASP/JScript applications.


Closed Thread « Previous Thread | Next Thread »  
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old March 28th, 2008, 10:50 PM
Contributing Member

 
Join Date: Mar 2008
Posts: 174
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 (permalink)  
Old March 29th, 2008, 01:25 AM
BLaaaaaaaaaarche's Avatar
Moderator

 
Join Date: Mar 2008
Posts: 43
Thanks: 10
Thanked 6 Times in 4 Posts
Rep Power: 1
BLaaaaaaaaaarche is on a distinguished road

Awards Showcase
Classic ASP 
Total Awards: 1

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 (permalink)  
Old March 30th, 2008, 09:56 AM
jmurrayhead's Avatar
Your Lord & Master

 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 534
Thanks: 14
Thanked 39 Times in 38 Posts
Blog Entries: 2
Rep Power: 1
jmurrayhead will become famous soon enough

Awards Showcase
Microsoft .Net Microsoft SQL Server Microsoft Windows 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
Did I help you out? Make me popular by clicking the icon!

If you found a post helpful, please click the button in the lower right-hand corner of the post.

Powered by ASP.Net
  #4 (permalink)  
Old March 31st, 2008, 01:29 PM
sbenj69's Avatar
Moderator

 
Join Date: Mar 2008
Posts: 73
Thanks: 18
Thanked 20 Times in 15 Posts
Rep Power: 1
sbenj69 is on a distinguished road

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 (permalink)  
Old March 31st, 2008, 09:04 PM
lewy's Avatar
Alter Ego Wizard

 
Join Date: Mar 2008
Location: Edinburg, TX
Posts: 35
Thanks: 0
Thanked 3 Times in 3 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
__________________
................... ASCII and ye shall receive ..................
Knowledge is the only resource on earth that multiplies when shared

If you found a post helpful, please click the 'Thanks' button in the lower right-hand corner of the post.
  #6 (permalink)  
Old April 30th, 2008, 05:36 AM
richyrich's Avatar
Moderator

 
Join Date: Mar 2008
Location: Somewhere only we know...
Posts: 325
Thanks: 22
Thanked 23 Times in 23 Posts
Rep Power: 1
richyrich is on a distinguished road

Awards Showcase
Classic ASP JavaScript 
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


Sponsored Links

ASP.NET Resource Index
a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer.

Free Web Directory
Including Chats and Forums Resources, Offer automatic, instant and free directory submissions.
URLZ Web Directory
URLZ Web Directory

Free Web Directory - Add Your Link
The Little Web Directory
Free Web Directory
Pegasus free web directory is a free directory organised by categories.

Web Directory & SEO Services
dirroot web directory


All times are GMT -4. The time now is 10:57 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2008 DeveloperBarn.com

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