DOCUMENT:Q178359 22-DEC-1997 [vbwin] TITLE :PRB: Distribution of MSCAL Control in VB Application PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:5.0 OPER/SYS:WINDOWS KEYWORDS:vb5all ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 5.0 --------------------------------------------------------------------- SYMPTOMS ======== When using the Visual Basic Setup Wizard to install an application, 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 is part of the Office Developers Edition, not part of Visual Basic. In order to be in compliance with the licensing agreement, you must have a license for Office Developers Edition. RESOLUTION ========== In the VB5dep.ini file backwards compatibility section, add the following lines: [MSCAL.OCX] Register=$(DLLSelfRegister) Dest=$(WinSysPath) Uses=1 After the changes above have been added, use the Setup Wizard again to create the setup application. STATUS ====== Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION ================ This problem can also occur when installing third-party controls after Visual Basic is already installed. Another workaround is to install Office 97 and all third-party tools and then install Visual Basic 5.0. The first time the Setup Wizard is executed, the master depends file will be updated to reflect additional controls installed. REFERENCES ========== EULA (End User License Agreement) that ships with our products. ====================================================================== Keywords : vb5all Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1997.