FIX: "Addins VB6.EXE - Application Error" in Data Project (223125)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q223125

SYMPTOMS

An application error occurs in a Data Project when the toolbox is not visible and the default form is clicked.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3.
For additional informationabout Visual Studio 6.0 service packs, click the following article number to view the article in the Microsoft Knowledge Base:

194022 Visual Studio 6.0 service packs, what, where, why

194295 How to tell that Visual Studio 6.0 service packs are installed

MORE INFORMATION

Steps to reproduce the behavior

  1. Create a new Data Project in Visual Basic 6.0.
  2. Make sure that the Visual Basic toolbox is NOT visible within the IDE when Visual Basic loads. If it is, close the toolbox, exit Visual Basic, start it up again, and repeat step 2.
  3. From the Project window, double-click the "frmDataEnv" form to view its design.
  4. Click on the form.

    This causes an Access Violation in VB6.exe.
Notes
  • There is no problem with clicking on the form if the toolbox is shown in the IDE.
  • This occurs only in the Visual Basic 6.0 IDE and not at run-time.

Modification Type:MinorLast Reviewed:12/6/2004
Keywords:kbBug kbfix kbIDEProject kbVS600sp3fix KB223125 kbAudDeveloper