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