FILE: VBRun60.exe Installs Visual Basic 6.0 Run-Time Files

ID: Q192461


The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0


SUMMARY

VBRun60.exe is a self-extracting executable file that installs the latest versions of the Microsoft Visual Basic run-time files that all applications created with Visual Basic 6.0 need in order to run.


MORE INFORMATION

The following file is available for download from the Microsoft Software Library. Click the file name below to download the file:


Vbrun60.exe

Release Date: Mar-17-1999

For more information about how to download files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services


VBRun60.exe installs the following core files, which ship with Visual Basic 6.0, Service Pack 2:

File Version Size
MSVBVM60.dll 6.00.8268 1.34MB (1,409,024 bytes)
OLEAut32.dll 2.40.4268 584KB (598,288 bytes)
OLEPro32.dll 5.0.4268 160KB (164,112 bytes)
STDOLE2.tlb 2.40.4268 17.5KB (17,920 bytes)
ASycFilt.dll 2.40.4268 144KB (147,728 bytes)
ComCat.dll 4.71 21.7KB (22,288 bytes)


These files are the base dependencies for any component or application created in Visual Basic 6.0. In addition, the following files are also installed by VBRun60.exe:

File Version Size
ADVPack.dll 4.71.1015.0 73.2KB (74,960 bytes)
W95Inf16.dll 4.71.704.0 2.21KB (2,272 bytes)
W95Inf32.dll 4.71.0016.0 4.50KB (4,608 bytes)
VBRun60.inf N/A 1.04KB (1,069 bytes)


These files are supporting files for the VBRun60.exe self-extracting file.

For information about the command-line arguments available for VBRun60.exe, enter the the following (without the quotation marks) at the command-line:

"VBRun60.exe /?" 
NOTE: You may need to specify the complete path to VBrun60.exe in the command.

For additional documentation on command-line arguments, please see the following article in the Microsoft Knowledge Base:
Q189520 XCLN: Outlook Deployment Kit (ODK) Setup Command-Line Options

Do I Need VBRun60.exe?

VBRun60.exe is not intended to replace the Package and Deployment Wizard (PDW) for distributing Visual Basic applications. For example, if your application includes components, such as ActiveX controls or DLLs, you should use the PDW or a third-party setup package for distribution. However, if your Visual Basic application only depends upon the files included in VBRun60.exe, you can distribute your application by providing end users with the executable (.exe) file and VBRun60.exe.

To determine whether your application requires additional files for distribution, you can use the PDW to create a set of setup files as a test. When the PDW creates a setup package, it creates a Setup.lst file. You can open the Setup.lst in any text editor (for example, NotePad). If the [Setup1 Files] section of the resulting Setup.lst file only lists your .exe file, end users should be able to run your application after running VBRun60.exe to install the core run-time files. However, if the [Setup1 Files] section contains multiple files, you should consider using the PDW or a third-party setup package for distribution instead.

In addition to distributing simple executables, you can also use VBRun60.exe for the following:
  • To minimize the size of Internet downloads of Visual Basic applications - by running Vbrun60.exe ahead of time, users can download your application from the Web faster.


  • As a troubleshooting step when an installation of Visual Basic or a Visual Basic application fails - if Setup fails with an error message that mentions one of the core files or if registration of a component fails during Setup, the core files on the target computer might be mismatched. If the versions of the files in VBRun60.exe are newer than the versions on the target computer, you might resolve the problem by running VBRun60.exe before you run Setup.

    For a specific example of a Setup problem that is resolved by running VBRun60.exe, please see the following article in the Microsoft Knowledge Base:
    Q194754 SETUP.EXE File Linked to Missing Export OLEAUT32.DLL:185


You can also obtain VBRun60.exe by extracting it from the VBRun60.cab file available on the Visual Basic and Visual Studio CDs. VBRun60.cab is located in the following folder on the Visual Basic 6.0 CD (Disk 1):
\common\tools\vb\cabinets
On the Visual Studio 6.0 Professional CDs, VBRun60.cab is located in the same relative path on Disk 2. On the Visual Studio 6.0 Enterprise CDs, it is located on Disk 3.

NOTE: The version of VBRun60.exe included in this Knowledge Base article differs from that on the installation CD. The version included in this article is the latest version that ships with Visual Studio 6.0 Service Pack 2.

For more information about how to get the files for Visual Basic 6.0 SP3, please see the following article in the Microsoft Knowledge Base:
Q235420 How to Extract Original Compressed Windows Files
You can use the Extract utility to extract VBRun60.exe from the cabinet file, VBRun60.cab. Extract.exe is located in your Windows folder or on your Windows 95, Windows 98, or Windows NT installation CD. From an MS-DOS command prompt, you can run the following command to extract the file in the cabinet file into the current directory:
Extract Vbrun60.cab
For more information about using the Extract utility, please see the following article in the Microsoft Knowledge Base:
Q129605 How to Extract Original Compressed Windows Files



REFERENCES

For more information, please see the following articles in the Microsoft Knowledge Base:

Q194022 INFO: Visual Studio 6.0 Service Pack 1, What, Where, Why
Q180071 FILE: Msvbvm50.exe Installs Visual Basic 5.0 Run-Time Files

Additional query words:

Keywords : kbfile kbAppSetup kbDeployment kbVBp600 kbVS600sp2
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: January 10, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.