adoconnect的连接字符串是
ConnectionString := 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+FileName+';'         +'Extended Properties=Excel 8.0;Persist Security Info=False';找不到可安装的isam,打开的时候提示找不到可安装的isam.

解决方案 »

  1.   

    打开excel的时候出现的这个提示,主要是其中增加了一条语句,adoconnect1.gettablename(combobox1.items,false).去掉这句就可以.
      

  2.   

    我试过没问题,环境:excel2003+delphi5+windows 2000 profressional
    with TAdoConnection.Create(self) do
      try
        ConnectionString:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Book1.xls;Extended Properties=excel 8.0;Persist Security Info=False';
        LoginPrompt:=false;
        Open;
        GetTableNames(self.ListBox1.Items,true);
        Close;
      finally // wrap up
        Free;
      end;    // try/finally
      

  3.   

    GetTableNames(self.ListBox1.Items,false);结果相同