Friday, July 31, 2009

How do you compile a program in visual basic 6 with a database?

I know how to complie it into an exe without a database. The problem is, whenever I compile a program with a database linked to it, it doesn't work with other computers. You have to copy the .mdb in the other computer. Can anyone tell me another way to compile the thing without having to copy the other files in every computer that I want to program to show?

How do you compile a program in visual basic 6 with a database?
Create a setup project. Include the database in the setup project. When they run the setup file, it will install the exe,any related dlls and the database to the local machine. Now the only thing you have to redistribute is the setup.


No comments:

Post a Comment