BUG: Calendar Control in Visual Basic Causes Application Error

ID: Q143116


The information in this article applies to:
  • Microsoft Visual Basic Professional Edition, 16-bit only, for Windows, version 4.0
  • Microsoft Access Developer's Toolkit, version 2.0
  • Microsoft Office for Windows


SYMPTOMS

A 16-bit Visual Basic program containing the calendar control from the Access Developer's Toolkit, version 2.0 causes an application error if Microsoft Office is running in the background and you run the Visual Basic program in a 32-bit operating system. This behavior does not occur under the 16-bit operating system.


STATUS

Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

Steps to Reproduce

  1. Start 16-bit Visual Basic 4.0, or if it is already running, click New Project on the File menu.


  2. On the Tools menu, click Custom Controls. Click MSACAL20 to add the calendar control from the Access Developer's Toolkit to Visual Basic. Click OK to close the dialog box.


  3. Add the calendar control to the Form1 form.


  4. On the Run menu, click Start or press the F5 key to start the program. When you stop the program an application error occurs with the following message and Visual Basic ends:
    VB caused a general protection fault in module MSACAL20.OCX at 0003:0000153d.


Additional query words: kbVBp400bug kbVBp kbdsd kbDSupport kbControl

Keywords : kbGrpVB
Version : 4.00
Platform : NT WINDOWS
Issue type : kbbug


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