Microsoft KB Archive/178359

-

{| The information in this article applies to:
 * width="100%"|
 * Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 5.0

SYMPTOMS
When you are using the Visual Basic Setup Wizard to install an application, one of the following errors may occur:

c:\windows\system\$(dllselfregisterex) could not be registered because it could not be found.

-or-

The dependency file for MSCAL.OCX is out of date.

CAUSE
The Calendar control does not ship with Visual Basic. The Calendar control ships as part of Microsoft Access or may be downloaded for free from the following URL:

http://www.microsoft.com/officedev/freestuff/mscaldl.htm

RESOLUTION
In the VB5dep.ini file backwards compatibility section, add the following lines:

[MSCAL.OCX] Register=$(DLLSelfRegister) Dest=$(WinSysPath) Uses1= After the changes above have been added, use the Setup Wizard again to create the setup application. NOTE: If a setup template is being used to recreate the setup, the template needs to be edited also. Open the projects *.SWT file in Notepad and edit the mscal.ocx line to read DLLSelfRegister instead of DLLSelfRegisterEx, and then recompile the setup.

STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.