Once I've finished and compiled my project how do I find what files (.dlls etc) I have to supply with it for it to run on other peoples computers. I have VB5 so I dont have the deplyment wizard thing or whatever it is.
You have the VB5 version of the Package and Deployment Wizard if you have the Pro or Enterprise edition. Go to AddIns menu and select Add In Manager (this might be on Tools menu in VB5?) Anyway, there you can select PDW to be added to the Add Ins menu. Then you can select it and run it and it will build the package for you which will include all necessary Dlls, OCXs and etc that your app needs to run on target computer. View the setup.lst that it creates to see all the names.
You can make a start by opening your project file in notepad, and looking at what you've got references to. In addition, you should ship the MSVBM60.DLL (VB runtime). If you do any data access, you should ship the latest MDAC_TYP.EXE (available at msdn.microsoft.com/data). The tricky part comes in where you have to look at your list of references that you've used, and figure out what their dependencies are.
Keep in mind that not all modules listed are to be distributed (kernel32.dll, etc). And if your app uses ADO, you'll have to distribute MDAC_TYP.EXE instead of the ADO modules.
Most of all, test your distribution package on a clean OS (fresh installation of OS only. I use Win95A.), be patient and thorough.
Welcome to world of Windows application deployment!
Yeah, if you use HandleEx, you *must* know which modules not to distribute. Especially if your app makes use of the internet explorer control or advanced windows controls. Surest way to permanently crash a system is to attempt to install shdocvw.dll on it!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.