Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2004, 12:03 PM
Registered User
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default To launch Excel from ASP

Hi friends,

I am doing an ASP application from which i would like to launch EXCEL from a link in the Internet Explorer.

I am able to do that by using the following code

REsponse.Redirect("test.xls")

But iam facing the following problem.

1. For that excel has to installed in the client machines.
2. After using response.redirect it is taking long time to launch the excel.i.e the total excel is transfering from the server to the client and then launching.
3. After excel is launched the any DLL reference made in the excel has to be registered in the client machine.It is not taking the DLL registered in the server even though it is lauched in the Internet Explorer.How to make the excel to refer to the DLL registered in the server ? Is there is any possiblity for lauching the excel without installing OFFICE in the client machine.

I will be greatful for any kind of help in this regard

Thanks
 
Old December 7th, 2004, 09:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

1. Correct - although there are other apps/viewers that will handle XLS files

2. Why not just use a standard link ? The time taken will include the time to render the file through the webserver as well.

3. Unless your server is configured so that you can map directly to the DLL and include it in all the clients then you can't do it. There is also no way that I have found to run any application on the local machine without it being installed there.

http://www.greggriffiths.org/webdev/both/excel/ may give you some coding alternatives though.
 
Old December 8th, 2004, 04:15 AM
Registered User
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot creg for your response.

Can you tell me what are the possible ways to launch excel from ASP inside Internet Explorer ?
 
Old December 8th, 2004, 06:40 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

check out http://www.greggriffiths.org/webdev/both/ for some ideas.
 
Old December 8th, 2004, 07:11 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Greg - Nice link!

Wind is your friend
Matt




Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP to Excel BUT show Excel grid lines mat41 Classic ASP Basics 8 May 31st, 2009 05:56 PM
Launch program with keys sektor VBScript 0 July 22nd, 2008 03:34 AM
Launch the .Net Win Forms from Excel spreadsheet Arunikhanna81 C# 0 January 15th, 2007 10:54 PM
ASP to Excel - excel output formatting issue mat41 Classic ASP Professional 0 August 13th, 2006 06:41 AM
Launch external application kikashi VB How-To 0 May 14th, 2005 01:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.