Setup Program

Posted on 2001-06-04
Last Modified: 2010-05-02

How to run setup and distribute the Vb6 program with sql server 7.0?
Question by:ht055
LVL 49

Expert Comment

by:Ryan Chong
ID: 6151898
Hi, using the standard Package & Deployment Wizard under Microsoft Visual Studio 6.0 Tools. This should be ok. and of course you need the sql server 7.0 setup disk.

Expert Comment

ID: 6151899

You could use the Application Setup Wizard that comes with your version of VB.

Another method would be to zip all the ocx, dll files that your app used together with the Visual Basic runtime file (Msvbvm50.dll or Msvbvm60.dll) and make sure that it unzips all to 1 folder.

That's it!

glass cookie : )

Expert Comment

ID: 6151900
you cannot include sql server 7.0 into your vb6 program as well due to the licence issue and other. What you can do is to include the database file as well as log life. If i am not mistaken the the extension for database file is mdf and for log is ldf. Include both during the deployment.

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.


Author Comment

ID: 6151927

The sql 7.0 is in another server. The vb program will be installed into user's pc. I'm using the odbc connection.

My question is "Do I have to include the sql 7.0"? Or I just created a odbc connection string in user'c pc that point to correct sql server?

Please give a comment as I don't the answer.


Author Comment

ID: 6151940
Hi glass_cookie,

I couldn't found the "Application Setup Wizard that comes with your version of VB" in Ms Studio 6.0 menu.

Follwing are those items in Ms Studio 6.0 menu :

1. Microsoft Visual Basic 6.0
2. Microsoft Visual InterDev 6.0
3. Microsoft Visual Studio 6.0 Tools

Do I have to reinstall the VB6 in order to use the "Application setup wizard"?

Please comment.



Accepted Solution

glass_cookie earned 50 total points
ID: 6151982
Hmmm... I did this:

Start > Programs > Microsoft Visual Basic > Application setup wizard

That's how I got there.  From there, just follow the instructions.  There's only 1 little problem.  Sometimes, that packager may make some mistake and fail you (though it usually doesn't happen).  I came across some questions where it failed.

Another way would be t zip everything up and load everything onto a folder.  But I've got no idea about the "licence issue" thing.

That's it!

glass cookie : )

Expert Comment

ID: 6151984
DONT reinstall.  The package thing should installed together with your VB6.

That's it!

glass cookie : )

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now