I created a project that links to an ODBC data source.
I created it using the "Standard Exe" project in VB6.
It works fine on the development machine.
Moving it to another machine causes all sorts of error. Most of them were dll libraries not found. I copied these across.
When I now run the program it works fine, except it keeps on throiwing up a "Applicatioon Defined or object-orinteted error", which I've tracked down in the source code to the first line that queries the ODBC source. The odbc source is excatley the same on the test machine. I assume that this might be another dll problem.
Why should I have to go through all this fuss? Shouldn't vb6 have a clever way of setting this up for the user (instead of copying dlls, registering dlls etc).
If I could get an exe file that i could just copy from machine to machine, I would be a happy man.