How to open xls-file?

H

Henke

Hi
I'm using the Microsoft Office Spreadsheet 11.0 control in a Axapta form. I
don't find any method to open a specific xls-file. Isn't that possible to
do? I find methods to open csv and xml files.

Thanks
Henke
 
H

Henke

Thanks for your answer, strange functionality though. A Microsoft Office
Spreadsheet object that CAN'T read an xls-file!!!
/Henke

Alvin Bruney said:
The OWC cannot read from xls compliant files.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Henke said:
Hi
I'm using the Microsoft Office Spreadsheet 11.0 control in a Axapta form.
I don't find any method to open a specific xls-file. Isn't that possible
to do? I find methods to open csv and xml files.

Thanks
Henke
 
A

Alvin Bruney [MVP]

It's strange if you didn't consider the fact that excel xml is entirely
different from owc xml. The two aren't compatible because owc uses special
header and footer tags. There's a technique to insert the required tags but
why bother? loading csv or html is more efficient anyway.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Henke said:
Thanks for your answer, strange functionality though. A Microsoft Office
Spreadsheet object that CAN'T read an xls-file!!!
/Henke

Alvin Bruney said:
The OWC cannot read from xls compliant files.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Henke said:
Hi
I'm using the Microsoft Office Spreadsheet 11.0 control in a Axapta
form. I don't find any method to open a specific xls-file. Isn't that
possible to do? I find methods to open csv and xml files.

Thanks
Henke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top