Which files are need for a VB database program to work independently ?


How I can understand which files are needed for a program which I wrote with VB6 ? I copied some ocx files along my exe file to another PC but it still needs some other files and doesn't work properly. Main function of my program is getting information from database and updating it.
I used ADO data controls.

Thank you,
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.

If you open the Project file (.vbp) in Notepad you will be able to see which files are needed.Also you should have MDAC installed which can be downloaded from Microsoft.
Or you can use the "Package and Deployment" (PDCMDLN.EXE) wizard to compile your project into an installation procedure. It will automatically detect and package your project's dependencies.

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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

And you say you copied the files, but did you register them?
Here is a good place to get familiar with control registration.


These packaged controls also include a utility named ccrpregutil.exe which can be associated to OCX files so that when you doubleclick an OCX it will use this included EXE to automatically register them.

It was a real handy tool back in the day.  Hope you find it useful.  The controls are pretty handy a few of them as well.
just  download and install MDAC 2.8

All MDAC's from 2.6 onwards don't include JET drivers, if you use JET, you need either MDAC 2.5 or to download the drivers seperately.
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.