access 2000 in VB6 ?? 
Author Message
 access 2000 in VB6 ??

How can I implement an Access 2000 database in VB6 ??
When I have tried, all i get is an "unrecognised file format"..
Thanks

- Richard Volpe



Sun, 07 Jul 2002 03:00:00 GMT  
 access 2000 in VB6 ??
Use DAO 3.6 or ADO.
DAO 3.51 not read Access 2000.
If you use control Data and DAO (Data don't work with DAO 3.6), then
following code help you

Set db=Workspaces(0).OpenDatabase("MyDB")
Set Data1.Recordset=db.OpenRecordset("Query")

Best regards


Quote:
> How can I implement an Access 2000 database in VB6 ??
> When I have tried, all i get is an "unrecognised file format"..
> Thanks

> - Richard Volpe



Sun, 07 Jul 2002 03:00:00 GMT  
 access 2000 in VB6 ??
You need the latest version of  Microsoft DAO (Microsoft DAO 3.6 Object
Library). Goto
http://www.microsoft.com/data/download.htm
and download MDAC 2.1.2.4202.3 (GA) (choose downloads
from side panel of webpage and you should find it.) After you've downloaded
the .exe file run it on your hard drive. In VB choose References from the
Project menu. Find the Microsoft DAO 3.6 Object Library check box in the
list and select it. Make sure you unselect the old DAO version (probably DAO
3.51). This should work. I hope this helps.  L.B.


Quote:
> How can I implement an Access 2000 database in VB6 ??
> When I have tried, all i get is an "unrecognised file format"..
> Thanks

> - Richard Volpe



Sun, 07 Jul 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Access 2000 and VB6

2. access 2000 ET vb6

3. Access 2000 with VB6.0 - Stopped working...why?

4. Access 2000 and VB6

5. access 2000 to vb6

6. Columns in Access 2000 via VB6

7. Problem with ACCESS 2000 and VB6

8. Access 2000 and VB6

9. Performance issue - Access 2000 using VB6 and ADO 2.1 with SQL

10. LIKE query gives different results in Access 2000 and VB6 SP5

11. Access 2000 and VB6

12. Access 2000 in VB6

 

 
Powered by phpBB® Forum Software