VB can't open Access2000 database 
Author Message
 VB can't open Access2000 database

Hi,

I have a problem.

My program(in VB6) use Access97 in the past.

Now I convert this database to Access2000 and the program can't open it
anymore. Error says" 3343: Unrecognized database format".
In reference, I have already ticked 'Microsoft Access 9.0 object'.
I use only DAO in my program.

Did I miss to do something else?
Thanks
Ken



Sun, 27 Apr 2003 11:46:52 GMT  
 VB can't open Access2000 database
You can't use DAO with Access 2000.  It requires ADO and almost
rewriting your whole program.



Quote:
>Hi,

>I have a problem.

>My program(in VB6) use Access97 in the past.

>Now I convert this database to Access2000 and the program can't open it
>anymore. Error says" 3343: Unrecognized database format".
>In reference, I have already ticked 'Microsoft Access 9.0 object'.
>I use only DAO in my program.

>Did I miss to do something else?
>Thanks
>Ken



Sun, 27 Apr 2003 12:18:28 GMT  
 VB can't open Access2000 database
You have to use DAO3.6 with Access 2000, and it works!
Quote:
> You can't use DAO with Access 2000.  It requires ADO and almost
> rewriting your whole program.



> >Hi,

> >I have a problem.

> >My program(in VB6) use Access97 in the past.

> >Now I convert this database to Access2000 and the program can't open it
> >anymore. Error says" 3343: Unrecognized database format".
> >In reference, I have already ticked 'Microsoft Access 9.0 object'.
> >I use only DAO in my program.

> >Did I miss to do something else?
> >Thanks
> >Ken



Sun, 27 Apr 2003 03:00:00 GMT  
 VB can't open Access2000 database
To be specific, you need to replace the reference to DAO 3.5 (or 3.0) with a
reference to DAO 3.6 (under Project, References). And you also have to set
the connection property of all data controls to "Access 2000;" (including
the semicolon).


Quote:
> You have to use DAO3.6 with Access 2000, and it works!

> > You can't use DAO with Access 2000.  It requires ADO and almost
> > rewriting your whole program.



> > >Hi,

> > >I have a problem.

> > >My program(in VB6) use Access97 in the past.

> > >Now I convert this database to Access2000 and the program can't open it
> > >anymore. Error says" 3343: Unrecognized database format".
> > >In reference, I have already ticked 'Microsoft Access 9.0 object'.
> > >I use only DAO in my program.

> > >Did I miss to do something else?
> > >Thanks
> > >Ken



Sun, 27 Apr 2003 03:00:00 GMT  
 VB can't open Access2000 database
You need to add the newest service pack for Visual Basic (sp4) and for
access jet40. You can find them at miscrosoft.
Bill
Quote:

> Hi,

> I have a problem.

> My program(in VB6) use Access97 in the past.

> Now I convert this database to Access2000 and the program can't open it
> anymore. Error says" 3343: Unrecognized database format".
> In reference, I have already ticked 'Microsoft Access 9.0 object'.
> I use only DAO in my program.

> Did I miss to do something else?
> Thanks
> Ken



Sat, 03 May 2003 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. 'Canned' data in VB program

2. Open a MS Access2000 database using VB

3. CAN'T open Access2000 DB file??

4. VB6 opening Access2000 database

5. VB6 opening Access2000 Database

6. open a MS Access2000 database from VB6

7. open a MS Access2000 database using VB6

8. Problem opening Access2000 database

9. Problem opening Access2000 database

10. open a MS Access2000 database from VB6

11. open Access2000 database from VB6

12. open a MS Access2000 database MDB from VB6

 

 
Powered by phpBB® Forum Software