Accessing a MS Access DB using VB?

I am trying to open a MS Access dB on a machine that only has a run-time version on Access using VB.  Currently I am using "CreateObject("Access.Application") to open the .mdb and this works on machines with MS Access but not on ones with just runtime versions.  I have tried GetObject but this fails.  Is there an object similar to Access.Application that is for runtime versions of Access?  Also, the main part of the program is in the .mdb file and runs fine on these machines but I want to open and close it through VB to hide the location of the file from end users.
melissalutz1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GlenConwayCommented:
Why use Access to open the MDB?  I would have thought it would be better to use ADO.
0
AndySulzCommented:
use the data1 control.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.