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

ID: Q194751


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


SUMMARY

VB6Cli.exe is a utility that fixes design-time licenses used by ActiveX controls installed with Microsoft Visual Basic 6.0.


MORE INFORMATION

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

Vb6cli.exe
Release Date: Oct-26-1998

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

    FileName               Size
   ---------------------------------------------------------
   VBC6.EXE                 32k
   ENTDAT.DLL               32k
   LRNDAT.DLL               28k
   PRODAT.DLL               28k
   README.TXT               5k 
Contents of the README.TXT file included in VB6CLi.exe:

What is VB6Cli.exe?

VB6Cli.exe is a utility designed to fix design-time license problems with ActiveX Controls that ship with Microsoft Visual Basic 6.0. The utility does not fix third-party controls or controls not normally installed by Microsoft Visual Basic 6.0.

VB6Cli.exe will help correct problems with the following symptoms:

Symptom I

When trying to site a control within a project, Microsoft Visual Basic raises the following error dialog:
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 a project, Microsoft Visual Basic raises the following error dialog:
Compile Error : Permission Denied

Symptom III

When using the Application Wizard, Microsoft Visual Basic raises an error dialog similar to:
60: Method ~ of Object ~ failed

Symptom IV

When trying to run a project, Microsoft Visual Basic raises the following error dialog:
Runtime Error '429' : ActiveX Component Can't Create Object

Which ActiveX controls does VB6Cli.exe work with?

The following is a list of ActiveX controls that VB6Cli.exe can fix:

ActiveX Control                     FileName        Version      Edition
-------------------------------------------------------------------------
ADO Data Control 6.0                 MSADODC.OCX    6.00.8171    L,P,E
Chart Control 6.0                   MSCHRT20.OCX    6.00.8177      P,E
Comm Control 6.0                    MSCOMM32.OCX    6.00.8169      P,E
Common Dialog Control 6.0           COMDLG32.OCX    6.00.8169    L,P,E
Data Bound List Controls 6.0        DBLIST32.OCX    6.00.8169    L,P,E
DataGrid Control 6.0                MSDATGRD.OCX    6.00.8169    L,P,E
DataList Controls 6.0               MSDATLST.OCX    6.00.8169    L,P,E
DataRepeater Control 6.0            MSDATREP.OCX    6.00.8169      P,E
FlexGrid Control 6.0                MSFLXGRD.OCX    6.00.8169    L,P,E
Hierarchical FlexGrid Control 6.0   MSHFLXGD.OCX    6.00.3005    L,P,E
Internet Transfer Control 6.0         MSINET.OCX    6.00.8169      P,E
MAPI Controls 6.0                   MSMAPI32.OCX    6.00.8169      P,E
Masked Edit  Control 6.0            MSMASK32.OCX    6.00.8169      P,E
Multimedia Control 6.0                 MCI32.OCX    6.00.8169      P,E
PictureClip Control 6.0             PICCLP32.OCX    6.00.8169      P,E
RemoteData Control 6.0               MSRDC20.OCX    6.00.8169        E
Rich Textbox Control 6.0            RICHTX32.OCX    6.00.8169    L,P,E
SysInfo Control 6.0                  SYSINFO.OCX    6.00.8169      P,E
Tabbed Dialog Control 6.0           TABCTL32.OCX    6.00.8169    L,P,E
Windows Common Controls-3 6.0       COMCT332.OCX    6.00.8169      P,E
Windows Common Controls 5.0 (SP2)   COMCTL32.OCX    6.00.8022    L,P,E
Windows Common Controls 6.0         MSCOMCTL.OCX    6.00.8177    L,P,E
Windows Common Controls-2 5.0 (SP2) COMCT232.OCX    6.00.8022    L,P,E
Windows Common Controls-2 6.0       MSCOMCT2.OCX    6.00.8177    L,P,E
Winsock Control 6.0                 MSWINSCK.OCX    6.00.8169      P,E

L = Learning Edition
P = Professional Edition
E = Enterprise Edition 

How do I use VB6Cli.exe?

VB6Cli.exe requires that an edition of Microsoft Visual Basic 6.0 be installed on the system where the utility is going to be used.

Before running the VB6Cli.exe utility, make sure there are no other applications running.

Simply double-click on VB6Cli.exe through the Windows Explorer. The utility detects Microsoft Visual Basic 6.0, and installs the required design-time licenses for the edition detected.

If successful, you will see a dialog box similar to the following:
"Enterprise Design Licenses Have Been Installed Successfully"
VB6Cli.exe also offers a silent mode. Running the VB6Cli.exe from a command prompt with a "/q" will run the utility without any user interface. Result codes can be captured and used by other applications to test if the licenses were installed.

Result Codes And Error Messages


Exit Code 0   : Licenses for that Edition were installed
Exit Code 1   : Microsoft Visual Basic 6.0 was not detected on this system
Exit Code 2   : Could Not Load A Support Utility Library
Exit Code 3,4 : At Least 1 Design License Was Not Properly Installed
Exit Code 5   : Unable To Install Any Design Licenses
Exit Code 6   : There Was An Unspecified Error With The VBC6 Utility 

Disclaimer

The utility discussed in this article is provided "as is" and Microsoft does not guarantee that it can be used in all situations. Although Microsoft support engineers can help with the use of this product, it is not supported. Use this tool at your own risk.


REFERENCES

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

Q194784 INFO: Controls Shipped with Visual Basic 6.0

Q181854 FILE: Vbc.exe Fixes VB 5.0 Control Installation Problem

Additional query words:

Keywords : kbfile kbActiveX kbCtrl kbLicensing kbVBp600 kbGrpVB kbDSupport kbVBp600FAQ
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb


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