[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    [Mono-dev] Reading and writing excel files
From:       "ZABALA_CALVO,_IŅAKI" <IZABALA () AERO ! GAMESA ! ES>
Date:       2006-01-31 9:24:51
Message-ID: 2E39440F576DDA11AA32000A5E02138401147CBB () exchange ! gamesa ! es
[Download RAW message or body]



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

<table><td width=650 align="left"><br><br><br><br><br><br><br><br><font color=red \
style="Verdana">ADVERTENCIA:</font><br><i><font style="Verdana" size=1>"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."</i></font></td></table>



<table><td width=650 align="left"><font color=red \
style="Verdana">DISCLAIMER</font><br><i><font style="Verdana" size=1>"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." </i></font></td></table>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic