Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am studying VB6, and at some poin

Status
Not open for further replies.

mikes999

MIS
Oct 17, 2000
147
US
I am studying VB6, and at some point in my practice I had to select a RecordSource property for Data object. After i defined an Access file, I clicked on property field, and (almost) immidietelt got an error: &quot;Unrecognized database format <path/filename>&quot;. MSDN gave me only Error 524 (&quot;The specified error has occurred in the Automation object currently running.&quot;), for which I couldn't find any help in TechNet. The ODBC driver has Access files listed, so does the Preferences window. I reinstalled the whole Visual Studio, without much success.

Any help/hints will be appreciated.

Thanks
 
It's something wrong in your source code.

If you had opened all libraries for ActiveX, ADODB, Jet, and maybe DataGrid or FlexGrid, you shouldn't have any problems.

Other problems would be that you have not specified the right name and/or properties of your object, that can be the command button, textboxed, listboxes, etc.

Last but not the least would be that you don't have your connection well defined and declared, same as for your data source and recordset.

Anyways, I, myself, am also learning about VB, so can't help you much.

Just make sure that your code has nothing missing or is well and properly written.

Laters.
 
Thanks for your input; I suspect the same, but have no idea how to fix it. The problem is, I am not running any handwritten code, all I do, is create a data object (data1), make it Excell (or Access) in Connect properties, go to RecordSource and try to link it to data source, and getting an error: &quot;Couldn't find installable ISAM&quot;. I was looking for ISAM drivers for Excel/Access, and found nothing (probably, wasn't looking in the right places).

That's about sums it up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top