Microsoft KB Archive/181854

= FILE: VB5cli.exe Fixes Visual Basic 5.0 Control Installation Problem =

Article ID: 181854

Article Last Modified on 8/15/2007

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Control Creation Edition
 * Microsoft Visual Basic 5.0 Learning Edition
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition

-



This article was previously published under Q181854



SUMMARY
VB5cli.exe installs the Vbcmpfix.exe utility, which fixes problems with the following three symptoms:

NOTE: The former name of VB5Cli.Exe was VBC.EXE. The file name was changed.

Symptom I
When trying to site a control within your project, you receive the following error message:

License Information For This Component Not Found. You Do Not Have An

Appropriate License To Use This Functionality In The Design Environment.

Symptom II
When trying to compile your project, you receive the following error:

Compile Error : Permission Denied

Symptom III
When trying to run your project, you receive the following error:

Runtime Error '429' : ActiveX Component Can't Create Object

NOTE: If you are having this issue with Visual Basic version 6.0, please see the following article in the Microsoft Knowledge Base:

194751 FILE: VB6Cli.exe Fixes License Problems with Visual Basic 6.0



MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

VB5cli.exe

Release Date: February 27, 1998

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.

The errors described in the "Summary" section of this article are the result of the Visual Basic 5.0 installation program failing to install the control properly. This problem arises during the installation of Visual Basic 5.0 when the installation program detects that a component is already on the system. In this case, the installation program will not install the component properly for use in the Visual Basic 5.0 design environment.

Components can already be on the system due to the installation of other applications, including Visual Basic applications, which have already installed these same components.

What Vbcmpfix Does
Vbcmpfix is designed to make sure that the controls and components included with Visual Basic 5.0 are installed properly. Vbcmpfix will detect and fix the install problems for the following editions of Visual Basic 5.0:
 * Visual Basic 5.0 Enterprise Edition


 * Visual Basic 5.0 Professional Edition


 * Visual Basic 5.0 Learning Edition


 * Visual Basic 5.0 Control Creation Edition

Vbcmpfix does not require any Service Packs installed to use, however upgrading to the latest Service Pack is always recommended. The latest service pack is available at:

http://msdn2.microsoft.com/en-us/vstudio/aa718359.aspx

List Of Components Vbcmpfix Will Fix
Depending upon which edition of Visual Basic 5.0 you have installed, Vbcmpfix will fix your installation so that controls and components that come with VB5 work in the VB5 design environment. Vbcmpfix.exe works ONLY with the components listed below, and will not affect any other third party controls you might be having problems with, or fix problems with any controls in the \Tools\Controls directory on the Visual Basic 5.0 CD. Component List                        Ent     Pro     Lrn     CCE

Microsoft Data Bound List Control     X       X       X Auto Connection Manager (AddIn)        X       X Microsoft Tabbed Dialog Control        X       X       X Microsoft Winsock Control              X       X Microsoft Comm Control                 X       X Microsoft RemoteData Control           X Microsoft Common Dialog Control        X       X       X       X Microsoft Data Bound Grid Control      X       X       X Microsoft Windows Common Controls (1)  X       X       X       X Microsoft PictureClip Control          X       X Microsoft Flexgrid Control             X       X       X Microsoft Internet Transfer Control    X       X Microsoft Chart Control                X       X Microsoft MAPI Controls                X       X Microsoft Windows Common Controls (2)  X       X VB T-SQL Debugger (AddIn)              X Microsoft UserConnection (ActiveX Designer)             X Microsoft Remote Data Object 2.0       X Microsoft Multimedia Control           X       X Microsoft Masked Edit Control          X       X Microsoft Rich TextBox Control         X       X Microsoft SysInfo Control              X       X Data Access Objects 3.50 Object Library              X       X

How To Use
Vbcmpfix is very simple to use. Run the self-extracting VB5cli.exe program that will extract two files:   Vbcmpfix.exe ReadMe.txt Double-click Vbcmpfix.exe from the Windows Explorer, or run it from the command line.

When Vbcmpfix launches, it will automatically detect which version of Visual Basic you have installed on your system. If you do not have Visual Basic installed, it will not allow you continue.

After it detects your version of Visual Basic, you can "Fix Install" or "Quit." Choosing "Fix Install" will update your system so that the controls and components that come with your edition of Visual Basic will work. The controls and components that are fixed is dependent upon the edition of Visual basic 5.0 you have installed.

After you have done this, close the utility and reboot your system. After rebooting, launch Visual Basic 5 and try using any controls with which you were having problems.

Known Issues
Users of Internet Explorer 4.x might notice that their desktop can produce odd behavior after running Vbcmpfix.exe. Bitmaps might become black and/or colors will be strange. Rebooting will solve this problem.

If you still cannot use controls after running Vbcmpfix.exe, please contact Microsoft Visual Basic Technical Support. Re-run Vbcmpfix.exe and write down the build number of the utility (given in the about box), and have that handy in case they ask for it. Vbcmpfix will not work on systems that have certain security settings, and Microsoft Visual Basic Technical Support will assist you in resolving this problem.

If you install Visual Basic on a network, sometimes security settings will carry over, and your system will not let Vbcmpfix.exe to run correctly.

