Solved

Setup Program

Posted on 2001-06-04
7
172 Views
Last Modified: 2010-05-02
Hi,

How to run setup and distribute the Vb6 program with sql server 7.0?
0
Comment
Question by:ht055
7 Comments
 
LVL 50

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.
0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6151899
Hi!

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 : )
0
 
LVL 6

Expert Comment

by:kahlean
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.


Regards
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:ht055
ID: 6151927
Hi,

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.


Thanks.
0
 

Author Comment

by:ht055
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.

Thanks

0
 
LVL 8

Accepted Solution

by:
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 : )
0
 
LVL 8

Expert Comment

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

That's it!

glass cookie : )
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

770 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