From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3e6c98a1a7cab60a X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: "Tanker" Newsgroups: comp.lang.ada Subject: Re: import Excel file Date: Mon, 14 Jun 2004 20:23:23 +0200 Organization: T-Online Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1087237103 05 13085 fsvSXHx1GkFSSLVV 040614 18:18:23 X-Complaints-To: usenet-abuse@t-online.de X-ID: GlnQnMZJQeaKaQ9WXz6ptRntBo604agNanK23ikh6qcNEgtEOl+Osq X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:1482 Date: 2004-06-14T20:23:23+02:00 List-Id: That was my first idea too, but the guy who I'm writing the program for, thinks that is a good thing to import an excel file directly without the step of making an csv file. A friend told me today, that there must be a ms tool for C++ (Ms Visual C++) that can sort out the relevant information from the excel file. I could bind the C++ code in my ada programm and use the excel infos. If it's too difficult to do, I will convince him that it must work with the cvs transformation. Thanks for your help!!! "Georg Bauhaus" schrieb im Newsbeitrag news:caknnm$kvt$3@a1-hrz.uni-duisburg.de... > Tanker wrote: > : Hi, > : > : I want to import data from an ms exel file in my program. Can someone give > : me a hint how I can realize that. I already tried to read the exel file as a > : text_io and sequential_Io file but it's not possible as Text_IO 'cause it > : must be a sequential_IO (or direct_IO) file. The problem with the > : sequential_IO is, that i can't figure out how the form and substance of the > : file looks like (is it a record, what kind of record(contents)?) > > Just reading in an Excel file isn't probably promising, because > it is not a text file. The structure of the binary data isn't > usually known. However, you could try exporting sheets to CSVs, > and read these with less effort.