PRB: Public Property of a Class Module Can't Be Set to True

ID: Q149529

The information in this article applies to:

SYMPTOMS

After installing Visual Basic version 4.0 over a previously installed Visual Basic version 3.0, the Public property of a class module cannot be set to True. When you attempt to set the Public property of a Class module to True, the following error message appears:

   The Public property for Class Class1 cannot be set to True. You do not
   have an appropriate license to use this.

CAUSE

There are two possible causes for this problem:

RESOLUTION

Exit from Windows for Workgroups; from the MS-DOS prompt, find the Reg.dat file and rename the file to Reg.old. Start Windows for Workgroups and reinstall Visual Basic to rebuild the registry. For instructions on how to rebuild the registry and re-registering .reg files, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID: Q80393
   TITLE     : How to Rebuild the Default Windows REG.DAT File

   ARTICLE-ID: Q82814
   TITLE     : Re-Registering .REG Files

You may have to install other applications to rebuild their registry settings as well.

Additional query words:

Keywords          : kbVBp400 
Version           : 4.00
Platform          : WINDOWS

Last Reviewed: November 11, 1998