Hi.
I'm trying to get some data from a simple Excel file (*.xls)
But it dosn't seem to bee so easy at all.
I've searced trough the FAQ, and trough google and across the most of MSDN. And everything never exactly gives me what I Want.
This is my thing:
1. Get access to an Excel file from a webbrowser(No need to show it just have it open)
2. Take out the data cell by cell and print to screen in browser.
This should be very simple, but I just can't find a way.
First I started with ASP code Using ADO but I don't seem to get any thing out of the Excel File. And I found out that I was doing the pages on a Apache server, sooo....
Then I've tried ActiveX Components. I used "Microsoft Office Web Component" With the CLSID's :
1. [tt]0002E510-0000-0000-C000-000000000046[/tt]
and
2. [tt]0002E520-0000-0000-C000-000000000046[/tt]
They work, but I can't open a file in it. Ive found on MSDN that I should use the property called : [tt]"DataSource"[/tt]
so my code looked like this :
[tt]
<object id="MySpreadsheet" data="test.xls" classid="CLSID:0002E510-0000-0000-C000-000000000046">
<param name="DataSource" value="test.xls">
</object>
[/tt]
But it dosn't open or show my Excel file. :-(
I'm still searching for answers. But if Anyone have a link or anythink I would be gratefull.-
Machine code Rocks
I'm trying to get some data from a simple Excel file (*.xls)
But it dosn't seem to bee so easy at all.
I've searced trough the FAQ, and trough google and across the most of MSDN. And everything never exactly gives me what I Want.
This is my thing:
1. Get access to an Excel file from a webbrowser(No need to show it just have it open)
2. Take out the data cell by cell and print to screen in browser.
This should be very simple, but I just can't find a way.
First I started with ASP code Using ADO but I don't seem to get any thing out of the Excel File. And I found out that I was doing the pages on a Apache server, sooo....
Then I've tried ActiveX Components. I used "Microsoft Office Web Component" With the CLSID's :
1. [tt]0002E510-0000-0000-C000-000000000046[/tt]
and
2. [tt]0002E520-0000-0000-C000-000000000046[/tt]
They work, but I can't open a file in it. Ive found on MSDN that I should use the property called : [tt]"DataSource"[/tt]
so my code looked like this :
[tt]
<object id="MySpreadsheet" data="test.xls" classid="CLSID:0002E510-0000-0000-C000-000000000046">
<param name="DataSource" value="test.xls">
</object>
[/tt]
But it dosn't open or show my Excel file. :-(
I'm still searching for answers. But if Anyone have a link or anythink I would be gratefull.-
Machine code Rocks