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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 52

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.

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

724 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