Microsoft KB Archive/290887

= VBRun60sp6.exe installs Visual Basic 6.0 SP6 run-time files =

Article ID: 290887

Article Last Modified on 12/18/2004

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q290887



SUMMARY
VBRun60sp6.exe is a self-extracting executable file that installs the latest versions of the Microsoft Visual Basic run-time files that are required by all applications that are created with Visual Basic 6.0. The files include the fixes that are included with Visual Studio 6.0 Service Pack 6.



MORE INFORMATION
To obtain the VBRun60sp6.exe file, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=7B9BA261-7A9C-43E7-9117-F673077FFB3C

Release Date: March 29, 2004

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. VBRun60sp6.exe installs the following core files that are included with Visual Studio 6.0 Service Pack 6. These files are the base dependencies for any component or application that is created in Visual Basic 6.0:

VBRun60sp6.exe also installs the following files. These files are supporting files for the VBRun60sp6.exe self-extracting file:

For information about the command-line arguments that are available for VBRun60sp6.exe, type the following at a command line:

VBRun60sp6.exe /?

Note You may have to specify the complete path of the VBRun60sp6.exe file in the command.

For additional information about command-line arguments for this file, click the following article number to view the article in the Microsoft Knowledge Base:

189520 Outlook Deployment Kit (ODK) Setup command-line options

Do I need the VBRun60sp6.exe file?
The VBRun60sp6.exe file 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, use the PDW or a third-party setup package for distribution. However, if your Visual Basic application depends on only the files that are included in the VBRun60sp6.exe file, you can distribute your application by providing the executable (.exe) file and VBRun60sp6.exe to end users.

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, the PDW also creates a Setup.lst file. Open the Setup.lst file in a text editor such as Notepad. If the [Setup1 Files] section of the Setup.lst file contains only your .exe file, end users should be able to run your application after they run the VBRun60sp6.exe file to install the core run-time files. However, if the [Setup1 Files] section contains multiple files, consider using the PDW or a third-party setup package for distribution.

In addition to distributing simple executables, you can also use the VBRun60sp6.exe file for the following:
 * To minimize the size of Internet downloads of Visual Basic applications.

By running the Vbrun60sp6.exe file 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 the VBRun60sp6.exe file are newer than the versions on the target computer, you might resolve the problem by running the VBRun60sp6.exe file before you run Setup.

For additional information about a specific example of a Setup problem that is resolved by running VBRun60.exe or VBRun60sp6.exe, click the following article number to view the article in the Microsoft Knowledge Base:

194754 Setup.exe file linked to missing export Oleaut32.dll:185

You can obtain a self-extracting executable file that installs the original Visual Basic 6.0 run-time files by extracting VBRun60.exe from the VBRun60.cab file. The VBRun60.cab file is available on the Visual Basic and Visual Studio CDs. The VBRun60.cab file is located in the \Common\Tools\Vb\Cabinets folder on the Visual Basic 6.0 CD (Disk 1).

On the Visual Studio 6.0 Professional CDs, the VBRun60.cab file 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 the VBRun60sp6.exe file that is included in this Knowledge Base article is different from the one on the installation CD. The version that is included in this article is the latest version. This version is included with Visual Studio 6.0 Service Pack 6.

You can use the Extract utility to extract the VBRun60.exe file from the VBRun60.cab cabinet file. The Extract.exe file is located in your Windows folder or on your installation CD for Microsoft Windows 95, Windows 98, or Windows NT. At an MS-DOS command prompt, run the following command to extract the file in the cabinet file into the current directory:

Extract Vbrun60.cab

For additional information about using the Extract utility, click the following article number to view the article in the Microsoft Knowledge Base:

129605 How to extract original compressed Windows files

