Hi, I have tried to read Access2000 from Visual Basic 6 and error occured " Invalid file format " If you don't mind please tell me what can I do ?. <br>
<br>
Thanks
Your question is a little vague.<br>
Were you using ADO to open a connection to the Jet Database?<br>
What version of ADO? 1.5/2.0/2.1/2.5? ADO 2.1 is the best.<br>
2.5 is for Windows 2000. Wouldn't use that in a production system just yet.<br>
What version of the Jet driver? 3.x or 4? Use 4.<br>
If this isn't close to a solution to your problem please reply with full description of your problem and the solutions you have tried to date.<br>
<br>
Regards<br>
<br>
Sorry for my question as you said is little vague, but Iam suppries that you can handle and I have already tried for what u sugest and successfully. My previous question are why visual basic 6 cannot read Microsoft Access 2000 with data control.<br>
Aniway thankyou for your reply<br>
<br>
Regard<br>
<br>
HBL<br>
The Data control in VB is not compatible with Access 2000 directly.<br>
<br>
First create your DAO recordset and then assign it to the data control.<br>
set db = opendatabase(access2000 mdb)<br>
set rs = db.openrecordset("select * from table"<br>
<br>
set data1.recordset = rs<br>
<br>
now the Data control has the Access2000 recordset.<br>
<br>
also see Microsoft's article on the subject<br>
Q238401 - PRB: Getting Unrecognized Database Format Error Message When Upgrading to Access 2000 <br>
<br>
<br>
Hope this helps<br>
Jon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.