Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 22nd, 2005, 07:22 AM
Registered User
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Depencies for my VB6 app

Hey all,

My application uses the Common Dialog control, and a Access database to store some data.

Currently the installer is copying these files to the system32 folder:
asycfilt.dll
COMDLG32.DLL
ComDlg32.ocx
msjint35.dll
msjter35.dll
ole32.dll
oleaut32.dll
olepro32.dll

Now, I wan't to make my app setup smaller, do I really need all those extra files?
Can i remove any of the files from my setup?

Would be happy for a quick answer :)

- Tank

 
Old December 22nd, 2005, 01:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

which kind of installer are you using?
 
Old December 22nd, 2005, 06:18 PM
Registered User
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm using Advanced Installer, but considers to change to Inno Setup.

Hope someone can help!

- Tank

 
Old December 22nd, 2005, 07:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I do not know either of them
What I usually do is open the References dialog, and I start unchecking libraries one per time, and every time try to compile the app. If the application does not compile, add the reference back.
For the controls is much easier, because VB will tell you if you uncheck a control that is in use.
The installer should install only the libraries and controls that are referenced.

I do this often, because is not uncommon, especially in big applications, that some component gets obsolete. There are third party components that do this job automatically, but I do not find it worth the money.

Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
Distributed VB6 App With D/Base !! Help... colm VB Databases Basics 2 June 2nd, 2007 01:45 PM
VB6 Excel App to .NET problem zayasv General .NET 0 October 24th, 2005 04:05 PM
VB6 App with CR9 problem ioates Pro VB Databases 0 May 10th, 2005 10:37 AM
Running a VB6 app as a service adman Pro VB 6 3 April 6th, 2004 02:21 PM
Out of Memory error from VB6 App on Win98 pavel Pro VB 6 3 January 12th, 2004 07:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.