Re: [Mono-dev] Reading and writing excel files

2006-02-01 Thread Ilya Kharmatsky




You can also use this Java library : http://www.andykhan.com/jexcelapi/


Jonathan Pryor wrote:

  On Tue, 2006-01-31 at 10:24 +0100, "ZABALA CALVO, IÑAKI" wrote:
  
  
I am trying to read and write Excel .xls files
I have tried it with COM:

  
  
Mono does not currently support COM interop, though Jonathan Chambers is
attempting such functionality...

If you want to write Excel files, you'll either need to skip Mono
entirely (use .NET instead or _vbscript_ or...), or you could look into
alternate .xls creation functionality (such as porting Jakarta POI to C#
or using Jakarta POI through IKVM -- see
http://jakarta.apache.org/poi/index.html).

 - Jon


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
  



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Reading and writing excel files

2006-02-01 Thread Jonathan Pryor
On Tue, 2006-01-31 at 10:24 +0100, "ZABALA CALVO, IÑAKI" wrote:
> I am trying to read and write Excel .xls files
> I have tried it with COM:

Mono does not currently support COM interop, though Jonathan Chambers is
attempting such functionality...

If you want to write Excel files, you'll either need to skip Mono
entirely (use .NET instead or VBScript or...), or you could look into
alternate .xls creation functionality (such as porting Jakarta POI to C#
or using Jakarta POI through IKVM -- see
http://jakarta.apache.org/poi/index.html).

 - Jon


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Reading and writing excel files

2006-02-01 Thread ZABALA CALVO, IÑAKI


I am trying to read and write Excel .xls files
I have tried it with COM:

using System;
using Microsoft.Office.Interop.Excel;

public class ExcelDemo { 
  public static void Main () 
  {
Microsoft.Office.Interop.Excel.Application app = new
Microsoft.Office.Interop.Excel.Application();
Console.WriteLine("Version is {0}.", app.Version);
  }
}

I have compiled it: 
mcs exceldemo.cs -r:System.Office.Interop.Excel.dll

But I have got a message box with "** ERROR **: Method
'Microsoft.Office.Interop.Excel.ApplicationClass:.ctor()' in assembly
'...\Microsoft.Office.Interop.Excel.dll contains native code and mono can't
run it. The assembly was probably created by Managed C++". 

Thank you

ADVERTENCIA:"El contenido de la presente comunicacion y en su caso, sus anexos, 
tiene caracter meramente informativo sin que represente, en ningun caso, 
oferta, aceptacion u opinion vinculantes para GAMESA AERONAUTICA, S.A, Sociedad 
Unipersonal, o cualesquiera de sus filiales, salvo que asi se indique 
expresamente en documento aparte suscrito por persona con facultades 
suficientes. Esta comunicacion esta dirigida exclusivamente a su destinatario y 
puede contener informacion privada y confidencial. GAMESA AERONAUTICA, S.A, 
Sociedad Unipersonal no asumira obligacion alguna, ni ejecutara ordenes, 
encargos o pedidos recibidos y/o enviados por correo 
electronico."



DISCLAIMER"The 
content of the present communication, and its annexes, is for informational 
purposes only and does not in any case constitute a binding offer, acceptance 
or opinion for  GAMESA AERONAUTICA, S.A, Sociedad Unipersonal,  or any of its 
subsidiaries unless so set forth in separate document subscribed by a 
representative of the company with sufficient faculties to do so.
This message may contain private and confidential information and is directed 
exclusively to its addressee. GAMESA AERONAUTICA, S.A, Sociedad Unipersonal 
will not assume any obligation, nor execute orders or mandates received or sent 
 by electronic mail."

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list