Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Basic 6 Problem

SOLVED
Go to solution
Ron Bromwell
Frequent Advisor

Visual Basic 6 Problem

I created a visual basic program to retrieve information from a database. The ODBC being used in the program was created manually "outside" the program. I then created an exe file and all was well, until...
Someone asked for the exe. They don't have visual basic on their machine. The program starts when you double click the exe, but when you push the button to retrieve the data, they get "dll not found" errors. Is there a way to include these dlls or how do I create a install program that will install the needed dlls and the executable. Or must I install VB6 on their machine. The platform is Windows 95
Thanks,
Ron
life's a journey, not a destination
2 REPLIES
Mark Stewart
Frequent Advisor

Re: Visual Basic 6 Problem

when you build a VB program and distribute it, you can't simply copy the compiled file(the exe).. you need to use the vstudio distribution tool to create a setup package, so that all the dll's get copied.. then you'll install it on the other machine like you would some store bought software.. and it works like it should..
christopher_4
Occasional Visitor
Solution

Re: Visual Basic 6 Problem

I agree 100% with what the first reply stated. Try this link if you want a step by step explanation.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingvisualbasicsetupwizard.asp