At least the bold-files have to be installed when using the sample programs from this side.

Visual Basic 6 SP5 Runtime Library:

Description:
The Visual Basic 6 SP5 runtime library, also called vb6 runtime files or vbrun dll set, are required to run programs that were written in Visual Basic 6. It can be difficult to know whether a program needs these files because often an author fails to mention it in the help files or documentation. Typically the way you find out is that you run the program and an error message appears 'A required .DLL file was not found', 'Runtime error' (caution, this error has lots of different causes) or 'Error: the file msvbvm60.dll could not be found.'

Another catch is that there are 6 major versions of Visual Basic, each with their own runtime library set (6 sets in total). Plus to make life difficult, Visual Basic also has service pack releases. Fortunately, these are backward compatible but still can be a pain. The current set is Service Pack 5 (SP5) released in late March 2001 and it will run files written with VB 6 SP1, SP2 or SP3.

This package includes msvbvm60.dll, oleaut32.dll, olepro32.dll and others. After you have downloaded the file, simply run it and the files will be copied to their correct location.

Download the Visual Basic 6 Runtime library (vb6 dll) (1MB)


Manual installation:

Visual Basic Runtime:

Path: \Windows\System32\
  • MSVBVM60.DLL - Visual Basic Virtual Machine (693kB) (!)
  • STDOLE2.TBL - OLE Automation (7kB)

    Visual Basic Runtime:

    Path: \Program Files\Microsoft Visual Studio\VB98\
  • VBA6.DLL - Visual Basic For Applications (982kB) (!)
  • VB6.OLB - Visual Basic Objects and Procedures (62kB) (!)

    Extra Controls:

    Path: \Windows\System32\
  • MSCOMCTL.OCX - Ms. Windows Commom Controls-1 6.0 (SP4) (498kB)
  • MSCOMCT2.OCX - Ms. Windows Commom Controls-2 6.0 (SP4) (332kB)
  • COMDLG32.OCX - Ms. Common Dialog Control 6.0 (SP3) (61kB)
  • PICCLP32.OCX - Ms. PictureClip Control 6.0 (SP3) (42kB)
  • MSFLXGRD.OCX - Ms. FlexGrid Control 6.0 (SP3) (109kB)

    RegSvr32:

    Batch file for registrating dll & ocx files on your system:

    RegSvr32 [/u][/s][/n][/i[:cmdline]] DLL-naam
    /u
    Registratie van server op heffen.
    /s
    Stille modus: geen berichten weergeven.
    /i
    Dll Install aanroepen en optioneel doorgeven [cmdline]. In combinatie van /u wordt DLL-bestand verwijderd.
    /n
    Dll Register Server niet aanroepen. Deze optie moet in combinatie met /i worden gebruikt.
    Sample batch file:
    @echo off
    IF EXIST %WinDir%\system\abc.ocx goto Exit
    echo Copying files...
    copy abc.ocx %WinDir%\system
    echo Registering files...
    cd %WinDir%\system
    regsvr32 abc.ocx