Advertisement

08.14.2008 at 05:15AM PDT, ID: 23647784 | Points: 264
[x]
Attachment Details

Error on the use of the component TExcelWorkbook on windows 2000 and 2003 system

Asked by Lebougre in Delphi Programming Language

Tags: ,

Hi guys,

I try to connect to Microsoft Excel, I have code (see sample under)  when I'm running under Windows XP it works fine but,  when I perform the same code on windows 2000 or 2003 server I have the error "Access violation at address..."

The code where the error appears is:
 Try
      ExcelWorkbook1.ConnectTo(ExcelApplication1.WorkBooks.Open(FileName,0,False,5,VarEmpty,VarEmpty,True,xlWindows,VarEmpty,False,False,VarEmpty,VarEmpty,lcid,VarEmpty,VarEmpty));
        except
          on E: Exception do
            begin
              //E.Message := 'Erreur ';
              MessageDlg(E.Message, mtInformation,[mbOk], 0);
              Exit;
            end;
        end;

Can you help me to run it on windows servers systems?
Regards.
Lebougre.Start Free Trial
[+][-]08.14.2008 at 05:26AM PDT, ID: 22229523

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 06:50AM PDT, ID: 22230253

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 07:29AM PDT, ID: 22230626

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 09:58AM PDT, ID: 22232024

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.14.2008 at 10:32AM PDT, ID: 22232337

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.17.2008 at 01:31AM PDT, ID: 22246463

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.19.2008 at 05:59AM PDT, ID: 22259298

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 08:51AM PDT, ID: 22270972

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 08:29AM PDT, ID: 22280602

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 08:39AM PDT, ID: 22280727

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 11:15AM PDT, ID: 22282562

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.25.2008 at 01:45AM PDT, ID: 22303996

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628