473,796 Members | 2,476 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I read an excel file to display the worksheet on the web.

How do I read an excel file to display the worksheet on the web.

Can I make use of some excel automation to programmaticall y
manipulate the excel file via the web browser.

Thanks in advance.

What I 'd like to do is to create a link like shown below.

-Link1
-Link2
-Link3

If Link1 is clicked. the worksheet #1 of excel file must be shown on web browser.
Then Link2 is clicked. the worksheet #2 of excel file must be shown on web browser.

Could that be possible??
Nov 17 '05 #1
10 2543
"sarunnio" <sa******@gmail .com> wrote in message
news:5b******** *************** ***@posting.goo gle.com...
How do I read an excel file to display the worksheet on the web.

Can I make use of some excel automation to programmaticall y
manipulate the excel file via the web browser.


Yes you can, though this approach is not recommended because of the massive
overhead it creates.

A much better solution, though not free, would be to use one of the 3rd
party utilities which can work with MS-Office files without having to
instantiate Office first.

I use this suite: http://www.aspose.com/
Nov 17 '05 #2
You could use the OLE interface to read the workbook and it's sheets.
That way, you do not need to automate EXCEL and therefore you will not need
to have it installed on the machine from where this would run.
I wrote a component to do that and a web interface where you could load
workbook from an URL and view it's sheets.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"sarunnio" <sa******@gmail .com> wrote in message
news:5b******** *************** ***@posting.goo gle.com...
How do I read an excel file to display the worksheet on the web.

Can I make use of some excel automation to programmaticall y
manipulate the excel file via the web browser.

Thanks in advance.

What I 'd like to do is to create a link like shown below.

-Link1
-Link2
-Link3

If Link1 is clicked. the worksheet #1 of excel file must be shown on web
browser.
Then Link2 is clicked. the worksheet #2 of excel file must be shown on web
browser.

Could that be possible??

Nov 17 '05 #3
"Dennis Myrén" <de****@oslokb. no> wrote in message
news:eS******** ******@TK2MSFTN GP10.phx.gbl...
You could use the OLE interface to read the workbook and it's sheets.
That way, you do not need to automate EXCEL and therefore you will not
need to have it installed on the machine from where this would run.
I wrote a component to do that and a web interface where you could load
workbook from an URL and view it's sheets.


That's interesting... When you say "That way, you do not need to automate
EXCEL and therefore you will not need to have it installed on the machine
from where this would run", are you talking about the client or server?
Nov 17 '05 #4
That would be the server, or actually neither server nor client, for that
matter.

The workbook is loaded and rendered to HTML.
So all the client will need is a browser.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:eX******** ******@tk2msftn gp13.phx.gbl...
"Dennis Myrén" <de****@oslokb. no> wrote in message
news:eS******** ******@TK2MSFTN GP10.phx.gbl...
You could use the OLE interface to read the workbook and it's sheets.
That way, you do not need to automate EXCEL and therefore you will not
need to have it installed on the machine from where this would run.
I wrote a component to do that and a web interface where you could load
workbook from an URL and view it's sheets.


That's interesting... When you say "That way, you do not need to automate
EXCEL and therefore you will not need to have it installed on the machine
from where this would run", are you talking about the client or server?

Nov 17 '05 #5
"Dennis Myrén" <de****@oslokb. no> wrote in message
news:O5******** ******@TK2MSFTN GP12.phx.gbl...
The workbook is loaded and rendered to HTML.


I'd be really interested in seeing how you do that without instantiating
Excel on the webserver...
Nov 17 '05 #6
Hmm did i just say i use the OLE interface.
If you know what that is, you should have no problems understanding how i do
it.

But you seem not therefore you may download the sources and see for
yourself.
But if you want to start using it i would like to know that.
http://dennis.oslokb.no/OkbExcelReader_DEBUG.zip

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:eq******** ******@tk2msftn gp13.phx.gbl...
"Dennis Myrén" <de****@oslokb. no> wrote in message
news:O5******** ******@TK2MSFTN GP12.phx.gbl...
The workbook is loaded and rendered to HTML.


I'd be really interested in seeing how you do that without instantiating
Excel on the webserver...

Nov 17 '05 #7
"Dennis Myrén" <de****@oslokb. no> wrote in message
news:ef******** ******@TK2MSFTN GP10.phx.gbl...
Hmm did i just say i use the OLE interface.


Yes you did, but I didn't realise you just meant OleDb - thanks for the link
anyway.
Nov 17 '05 #8
A misunderstandin g. Sorry.

Hope you like the little component.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:uF******** ******@TK2MSFTN GP14.phx.gbl...
"Dennis Myrén" <de****@oslokb. no> wrote in message
news:ef******** ******@TK2MSFTN GP10.phx.gbl...
Hmm did i just say i use the OLE interface.


Yes you did, but I didn't realise you just meant OleDb - thanks for the
link anyway.

Nov 17 '05 #9
"Dennis Myrén" <de****@oslokb. no> wrote in message
news:ef******** ******@TK2MSFTN GP10.phx.gbl...
Hmm did i just say i use the OLE interface.


Yes you did, but I didn't realise you just meant OleDb - thanks for the link
anyway.
Nov 17 '05 #10

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

Similar topics

13
35566
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet and extract information from specific worksheets and cells. I'm not really sure how to get started with this process. I ran the COM Makepy utility from my PythonWin (IDE from ActiveSTate),
0
4704
by: Peter | last post by:
I am having a problem reading an Excel file that is XML based. The directory I am reading contains Excel files that can be of two types. Either generic Microsoft based or XML based. I am reading the Microsoft based files with an OleDbDataAdapter. Then filling the contents of the first worksheet into a dataset. However when I try to add the XML based file to my dataset using an XmlTextReader I can never seem to get it to save to a...
1
4631
by: Esmail Bonakarian | last post by:
Greetings all, What is the best way to access specific records in an Excel file? I have an Excel file, I want to randomly and repeatedly (maybe around up to 50 times) draw some rows of data from this Excel file and store them in a struct/class for further processing. (mostly just display the info in graphical format) This is not some sort of database application, but rather I am
0
12811
by: ntuyen01 | last post by:
Hi All, I try to read the data from the excel, but I ran into this problem I have two excel files. file one.xls data inside like this: 1234 1234 1234 1234 abc-123 abc-123
2
2311
by: Steve Kershaw | last post by:
Hello, I've been trying to spin off an Excel worksheet on the client from an ASP.NET website. I was successfull in displaying an Excel worksheet on the client in a test website (not using IIS, but using Visual Studio 2005) with the following code: protected void Button1_Click(object sender, EventArgs e) { Application exc = new Application();
1
3044
by: Sport Girl | last post by:
Hi everybody , i have the task of developing in Perl a script that retrieves data from 3 tables ( bugs, profiles, products) from a MySQL database called bugs and display them in an excel sheet report. I always get when trying to test it " 500 Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request." Can somebody help me please.
0
2710
by: jwmaiden | last post by:
Have an application that opens up a webbrowser control to display data in an Excel spreadsheet (using VB.NET in VS 2005). No problem with opening the spreadsheet or displaying the data, but I'm having problems with repeating the process. I want to create an Excel spreadsheet, add some data to it, and display the results in a webbrowser control. I want to be able to then later delete the old Excel spreadsheet, create a new one, add some new data,...
3
6252
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store that multiple worksheet data in different table.How can i do it.Below is my xml file. <?xml version="1.0"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" ...
3
5403
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store that multiple worksheet data in different table.How can i do it.Below is my xml file. <?xml version="1.0"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office"...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10231
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10013
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9054
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2927
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.