Hey,
I would like to compile my project, which uses a few OCX's. which files should I add to the setup? only the .OCX files or all the supported files as well?
Thanks
Printable View
Hey,
I would like to compile my project, which uses a few OCX's. which files should I add to the setup? only the .OCX files or all the supported files as well?
Thanks
You would add the ocx's that you are using in your program that you had to add to your toolbox (non ms ones).
When ccreating your setup package you should get prompted to add or identify dependancies.
Thread Moved
non ms ones meaning there is no need to add Microsoft files?Quote:
Originally Posted by RobDog888
You're supposed to track which dependencies are redistributable and which are system components.
Normally redistributable component libraries have associated .DEP files that help track subdependencies and provide cues to PDW. These often don't get updated though with new component verions and changes in the Windows ecosystem, and often are not provided at all anymore. You must update or create them yourself, update the global VB6DEP.ini, or else be aware of the current status when packaging.
When you create an OCX or DLL for other developers you should create a .DEP companion to assist them in using your component. This applies for anything you'll reuse yourself too.
Things were easier when VB6 was new and assumptions could be made that most applications were targeting Win95/98. A lot has changed though, and if you want to keep using VB6 you just have to assume more responsibility. Things will not be "automatic" again until we get a follow on Visual Basic product some day (if ever).
Yes, you would add all dependancy files to your SETUP package but you also stated you wanted to COMPILE your PROJECT so are you using the P&D Wizard or just trying to make a executable of your program?Quote:
When creating your setup package you should get prompted to add or identify dependancies.
I'm using Inno Setup to make a setup installation.Quote:
Originally Posted by RobDog888
Doesnt Inno have a wizard that detects the dependancy files in your project?