The user control array is not painted on the form after you upgrade your Visual Basic 6.0 project (814743)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic 2005
SYMPTOMSAfter you upgrade your Microsoft Visual Basic 6.0 project
with a user control array to Microsoft Visual Basic .NET or Microsoft Visual Basic 2005, the user control
array is not painted on the form. This problem occurs only when you open the
form in design mode, and you do not build the project after you upgrade to
Visual Basic .NET or Visual Basic 2005.CAUSEThe user control on the form is drawn only when the compiled
version of the user control exists. The Upgrade Wizard only upgrades the user
control file (.ctl) to a Visual Basic .NET or Visual Basic 2005 file (.vb). The Upgrade Wizard does
not create a compiled version of the user control. Without the compiled version
of the user control, the array of the user control does not appear on the
form.RESOLUTIONTo resolve the problem, rebuild the project, and then open
the Windows form, as follows:
- Close Form1.
- On the Build menu, click Rebuild
Solution.
- In Solution Explorer, double-click Form1
to open the Windows form.
The user control array is on the
form.
STATUS This
behavior is by design.
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbvs2005swept kbvs2005applies kbDesigner kbDLL kbCompiler kbUpgrade kbWindowsForms kbCtrl kbControl kbprb KB814743 kbAudDeveloper |
---|
|