exe on PC without VB (DBGrid Prob)

I am attempting to copy my files from c:\dir\dir to a:\dir.  I recreate the exe after it's in the a:\.  When I go to open the file, my dbgrids have been disconnected.  Why is this happening.  Additionally, when trying to transfer the file to a PC without VB, it says it needs the OCX and DLL files.  It's been a few months since I built an app am I forgetting something easy?

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.

Éric MoreauSenior .Net ConsultantCommented:
You need to use the Setup Wizard (if using VB5) or the Package and Deployment Wizard (if using VB6) to create a setup application that will install everything your application needs on the user's computer.

You have a lot of other files (other than your application .EXE) to install in order for application to work!
KathyBrowningAuthor Commented:
This file will be distributed on a diskette.  I thought I had created a stand alone .exe before without having to refer back to the VB5 CD.  I'm looking to use ODBC, or create a dll or do what I have to do to get this thing running and fast.  If it's a detailed explanation, I'll increase the points, just let me know your price.

IN a hurry... thanks.
Éric MoreauSenior .Net ConsultantCommented:
All applications and/or components written using VB must ship more than the EXE itself.

One of these file is MSVBVM60.DLL which is more than 1 meg and it must be registered on the PC before the application can start. And there are a couple of other files in the same situation.

Once that said, VB is not a good choice for developping an application that can be run from a diskette without any installation. VC or Delphi can be good choices.
KathyBrowningAuthor Commented:
So how many disk would it take to load a very basic program?  We are thinking about doing this from e-mail.  Since the ball is already rolling I need solutions.  Can you give me the best solution for what to do now?
Éric MoreauSenior .Net ConsultantCommented:
The size depends on the components you use. The least I have seen (using VB6) is 2. If you use ADO, you have a big file (MDAC_TYP.EXE) which is near 7 meg to distribute!

Build a package and see how much it takes.

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.