Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent Need of help to setup VB6 App developed on win 2000 server

Status
Not open for further replies.

prettyangel

Programmer
Sep 2, 2005
38
NG
Hi all,

Please I need fast help on how to install a Visual Basic 6.0 application developed on windows 2000 server on a windows NT workstation.

I used Package & Development Wizard to prepare the application for deployment but on the workstation it's not installing it's saying one or more files are out of date and it exits setup.


Please assist.
Thanks.
 
Yeah, the Package & Deployment Wizard is really....not very good. Do a search in this forun for "INNO setup" and you will get several threads about the INNO Setup compiler, which is free and works quite well with VB.


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
jebenson thanks for your response.

I've downloaded the inno setup tool and i've used it to compile the application but i can't find the setup files anywhere.

I probably haven't looked well enough but I'm sorry they need it in the next few minutes. Please help!
 
One thing the Package and Deployment Wizard is good for is that it can create a dependency file, which tells you what dll, ocx, etc. files your app needs to run. Below is a dependency file produced for one of my apps:

Code:
[Version]
Version=1.0.0.0

[Voucher Report.exe <0009>]
Dest=$(AppPath)
Date=9/2/2005
Time=11:18
Version=1.0.0.0
CABFilename=Voucher Report.CAB
CABINFFile=Voucher Report.INF
Uses1=MSVBVM60.DLL
Uses2=OLEAUT32.DLL
Uses3=OLEPRO32.DLL
Uses4=ASYCFILT.DLL
Uses5=STDOLE2.TLB
Uses6=COMCAT.DLL
Uses7=msado27.tlb
Uses8=MSHFLXGD.OCX
Uses9=COMDLG32.OCX
Uses10=MSCOMCT2.OCX
Uses11=MSDBRPTR.DLL
Uses12=MSDERUN.DLL

[msado27.tlb <0009>]
Dest=$(WinSysPath)
Date=2/20/2003
Time=16:21
Version=2.80.1022.0

To run the PDW to produce a dependency file, just run it as normal but on the dialog titled "Package and Deployment Wizard - Package Type" select "Dependency File" from the list. You can use the file names (e.g., MSVBVM60.DLL) to search on your computer, and once you find them you can copy these files to a folder to reference in the INNO setup script.

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Thanks jebenson,
I've sucessfully installed now but my back end is MSSQL SERVER 7.0 and now it's telling me "database dll not found"
Pls does it mean I have to install sql on the clients machine?

I'm a novice.
 
You're going to need more than a simple answer for this. I'd suggest that you first identify exactly what you want to do, and then begin researching how to do it. As you progress, get back with more specific questions and people will help you.

If your program requires SQL Server to run, yes, it needs to be able to find an instance of SQL Server somewhere, along with the necessary database.

Hope this is of some help.

Bob
 
Thanks all for your response.

I'm okay for now, my users are working.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top