473,324 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

--- launch excel

Hello,
How can I launch excel in my asp.net application?
Thanks,
Jim.

Jul 21 '05 #1
7 2525
JIM.H. <JI**@discussions.microsoft.com> wrote:
How can I launch excel in my asp.net application?


On the client machine or the server?

(By the way, I assume you're putting dashes at the front of your
subject lines to get them at the top of the list, or something like
that. If so, could I ask you politely not to? Imagine if everyone
decided that they wanted their post at the top of the list.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #2
When user clicks a button I need to launch excel, if there is excel in the
client I may want to return a message.

(I do not think that --- puts my post at the top. I think It is by DateTime.
The reason I have --- so that I can easily see my posts, if it causes any
problem I can just give up)

"Jon Skeet [C# MVP]" wrote:
JIM.H. <JI**@discussions.microsoft.com> wrote:
How can I launch excel in my asp.net application?


On the client machine or the server?

(By the way, I assume you're putting dashes at the front of your
subject lines to get them at the top of the list, or something like
that. If so, could I ask you politely not to? Imagine if everyone
decided that they wanted their post at the top of the list.)

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Jul 21 '05 #3
JIM.H. <JI**@discussions.microsoft.com> wrote:
When user clicks a button I need to launch excel, if there is excel in the
client I may want to return a message.
Well, you could return an Excel spreadsheet with an appropriate mime
type, and with any luck Excel will launch. That's the best you can do
though, as far as I know.
(I do not think that --- puts my post at the top. I think It is by DateTime.
That entirely depends on your newsreader. The way I've got mine set up,
it's sorted by subject.
The reason I have --- so that I can easily see my posts, if it causes any
problem I can just give up)


It just makes things a bit messy. Not a big problem when one person
does it - just not nice when lots of people decide to do the same
thing.

I'd thoroughly recommend using a proper newsreader if you can. I use
Gravity, which is free, and allows me to easily see replies to my posts
etc via rules.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #4
How should I launch? can you give code example?

"Jon Skeet [C# MVP]" wrote:
JIM.H. <JI**@discussions.microsoft.com> wrote:
When user clicks a button I need to launch excel, if there is excel in the
client I may want to return a message.


Well, you could return an Excel spreadsheet with an appropriate mime
type, and with any luck Excel will launch. That's the best you can do
though, as far as I know.
(I do not think that --- puts my post at the top. I think It is by DateTime.


That entirely depends on your newsreader. The way I've got mine set up,
it's sorted by subject.
The reason I have --- so that I can easily see my posts, if it causes any
problem I can just give up)


It just makes things a bit messy. Not a big problem when one person
does it - just not nice when lots of people decide to do the same
thing.

I'd thoroughly recommend using a proper newsreader if you can. I use
Gravity, which is free, and allows me to easily see replies to my posts
etc via rules.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Jul 21 '05 #5
JIM.H. <JI**@discussions.microsoft.com> wrote:
How should I launch? can you give code example?


Just give the Excel spreadsheet you want to launch as the response, and
set the mime type suitably - I don't know what the mime type should be,
off-hand. You can use HttpResponse.WriteFile to write the file to the
response.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #6
I wanted to test Gravity so i downloaded it, and it says i have got 20 days
left of my trial and that it costs only $39.95.

Where did you get a free copy?

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
JIM.H. <JI**@discussions.microsoft.com> wrote:
When user clicks a button I need to launch excel, if there is excel in
the
client I may want to return a message.


Well, you could return an Excel spreadsheet with an appropriate mime
type, and with any luck Excel will launch. That's the best you can do
though, as far as I know.
(I do not think that --- puts my post at the top. I think It is by
DateTime.


That entirely depends on your newsreader. The way I've got mine set up,
it's sorted by subject.
The reason I have --- so that I can easily see my posts, if it causes any
problem I can just give up)


It just makes things a bit messy. Not a big problem when one person
does it - just not nice when lots of people decide to do the same
thing.

I'd thoroughly recommend using a proper newsreader if you can. I use
Gravity, which is free, and allows me to easily see replies to my posts
etc via rules.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Jul 21 '05 #7
Dennis Myrén <dennis[DELETETHIS]@oslokb.no> wrote:
I wanted to test Gravity so i downloaded it, and it says i have got 20 days
left of my trial and that it costs only $39.95.

Where did you get a free copy?


It's Open Source now:

http://sourceforge.net/projects/mpgravity/

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: SK | last post by:
I am calling an exe thru' href, but when it executes, I get the message if I want to open the file(exe file). Is there any way I can suppress this from appearing and open the program? Thank...
7
by: dan glenn | last post by:
I want to use some javascript to launch a windows application (this used on intranet) but don't know how. Can anyone help me out please? It'd be neat if I could not only launch the application...
2
by: Alvin Bruney | last post by:
anybody know how to launch desktop excel from a webpage and feed it either a dataset or a file? i've got MS sample code but it aint compiling with the office 10 library. i wonder if they changed...
1
by: Tim::.. | last post by:
Can someone please tell me why when ever I view a PDF file through my web application the file opens in notepad... I have checked my file association and the client machine is set to launch...
2
by: Peter Ignarson | last post by:
Hi there - I am writing a paint program (I am following a learning tutorial, there is no point to writing a paint program) and I want to extend it so that I can copy the contents of my drawing and...
7
by: JIM.H. | last post by:
Hello, How can I launch excel in my asp.net application? Thanks, Jim.
0
by: Tuong Do | last post by:
I have an excel or PDF file in memory stream that was was exported from Crystal Report. How do I launch this file? Launch a file from disk can be done by using process.start() But it has...
2
by: dvananne | last post by:
Running NT and 2003. Tried to install Essbase add-in. Excel now takes 60+ seconds to open. Any ideas? Seems like it is looking for a file to launch and either finds it or does not... Help!
1
by: Cristina | last post by:
Hi, i'm trying to launch excel from an asp.net application. My problem is that i already install excel 2003 on the server but i dont find excel on the list of dcom applications; do i need to do...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.