error:MSADODC.OCX or its dependencies missing

I am having some problems in making an exe file from a program-code in Visual Basic.
When I am making an exe file its running from the current platform but as soon as I am trying to move it to different machine its not even executing and when I am double clicking it to run it gives me the followign error message:

Component "MSADODC.OCX" or one of its dependencies not correctly registered: a file is missing or invalid


Please let me know what should I do

Thanks for your time
tparvaizAsked:
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.

Erick37Commented:
You need to create a setup program to install your program and all of its dependencies (runtime files, OCXs, DLLs) on the target machine.

In VB5 run the Application Setup Wizard
In VB6 it is called Package and Deployment Wizard
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
tparvaizAuthor Commented:
Thanks for your reply,

Could you please let me kno in steps that what should I do (I am a new starter)


Thanks for youe time.
0
tparvaizAuthor Commented:
Thanks for your reply,

Could you please let me kno in steps that what should I do (I am a new starter)


Thanks for youe time.
0
The Ultimate Tool Kit for Technolgy Solution Provi

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 for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

tparvaizAuthor Commented:
OK
0
Erick37Commented:
For VB5 see:

http://www.globalmajic.com/vb5setupwiz.htm

VB Books Online also has a step-by-step explanation of how to create your setup program.
0
tparvaizAuthor Commented:
OK
0
tparvaizAuthor Commented:
Iv'e got Microsofts VBasic 6
0
Erick37Commented:
Try searching Books Online for "Setup Wizard" or "Deployment."  It has a pretty good step-by-step.
0
tparvaizAuthor Commented:
Where is the website for books online
0
Erick37Commented:
Books Online is a reference which comes with VB.  It should be installed already.  Click the Help menu in VB and there should be a Books Online menu item.
0
tparvaizAuthor Commented:
I am unable to find this topic.
Please let me know about it

thanks
0
Erick37Commented:
Here is Microsoft's Site for Package and Deployment:
http://support.microsoft.com/support/VBasic/pdw.asp
0
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
Delphi

From novice to tech pro — start learning today.