Jump to content

Run executable of delphi

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
l_v

l_v

    Newbie

  • Members
  • Pip
  • 5 posts
Hi,

I want to run the executable of delphi on a computer that has no delphi installed on it. This should be possible right?
However, a error appears when trying to run the exectuable: Exception EDBEngineError in module.
Corrupt table/index header.

Has anyone an idea what this means and how to solve this?

Thanks!

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You may need to install BDE, since it appears to use a database.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
l_v

l_v

    Newbie

  • Members
  • Pip
  • 5 posts
Do you know whether that is possible on windows vista? I heard that it might not be supported. If it is possible, do you know where to find a proper download? If it is not possible, do you know how to switch to another database mechanism like ADO?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Based on this search: install bde vista - Google Search it appears to be possible. The more important question, however, is this: have you thought about how you will install BDE on the client computer? Have you thought about how you will configure BDE on the client computer? Have you considered using an ADO connection instead?

Database programming usually involves some configuration work on each client machine.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
l_v

l_v

    Newbie

  • Members
  • Pip
  • 5 posts
Well, that's why I asked the second question. I have considered to switch to ADO. However, I'm quite new at Delphi and I'm not quite sure how to do that. When I open delphi I can find in the tool palette nothing besides BDE. How do I use ADO, where can I find it?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It depends a little on what version of Delphi you are using, but TQuery hooks into BDE, ADOConnection and ADOQuery let you work with an ADO connection.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
l_v

l_v

    Newbie

  • Members
  • Pip
  • 5 posts
I'm am trying to use a ADO Connection. However, all I want to do is to import a database that is stored on my local drive. It can be found by C:\Project\Input.dbf. How do I connect this to delphi? Actually, all I want to use is a TADOTable, since I only used a TTable when I was using BDE. Is that possible, or do I need another component? If it is possible, what do I need to fill in as a connection string? I do not want a password or something like that, just a simple connection.
You would help me a lot! Thanks.

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You need to know what type of database it is to build the ADO connection. Once that is done, you'll point your ADOTable to that connection. The type of database will determine what other options are required.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog