
how do I access an access db (mdb) from vb
Jeff,
I did try to do it with VB.NET, it seems to work perfectly fine.
I didn't try to run the program ofcourse. Is it throwing an error when you
are running?
OK, here is what I did:
1) I right-clicked on references of my project and chose 'Add Reference'
2) Selected the COM tab and checked 'Microsoft DAOx library'
3) It asked me whether it can create a type library for me, I said Yes
4) I saw the 'DAO' on the reference list
5) I said 'Import DAO' in my code window
6) I started using it like any other library
I hope this helps you.
Eswar
Quote:
> when I attempt to use vb.net to access my db, i first add the reference to
> the project (for both jet10 and dao3.6--either would be fine) and the
system
> asks if it's ok to package the dlls for net, I agree and then I can see
them
> in the solution explorer but vb wont allow me to create ad dbEngine
object,
> table, etc. like i did in vb6--what am I doing wrong (or not doing)
> thanks,
> Jeff Fischman