>does anyone has a solution for the problem VB4 has when installing a app (Wrong version off DLL?
>
Welcome to the wonderfull world of shared components !!!
>Detailed: When installing a app written in VB4 16-bit, the setup-program places all DLL in the SYSTEM dir of WINDOWS 9 times out of 10 you have problems with wrong DLL-versions. What I want to do is to keep the needed VBX's and DLL's in my application directory. (No install if possible)
>
I'd advide strongly not to do that. You must install shared components in the System directory. Here's why:
Program A use XYZ.DLL that is in the directory of the EXE.
Program B is started. It needs XYZ.DLL but a more recent version that is in the System directory. The DLL is aready loaded in memory. Program B fail to start because the DLL is an older one.
No install program ??? You can make a batch file that copy your files and register the components with REGSVR32.EXE
The Setup Wizard that come with VB4 is bugged. I would spend a few bucks to buy a 3rd party setup program that is fool proof. WISE or InstallShield Express comes to mind.
I would enable Version Checking and place the shared components in the System directory.