Handling Changes to the OLE Container Control

Vb6 Containers

The OLE Container control is used to dynamically add objects to a form at run time. For example, you can use an OLE Container to create a control that contains an embedded Microsoft Word document, create a control that contains a linked Word document, or bind to an OLE object in a database. Visual Basic .NET does not support the OLE Container control. As a result, the upgrade wizard is unable to upgrade an OLE Container control. Instead, it replaces the control with a red label to highlight the...

Upgrading the Printer Object

In Visual Basic 6.0, the Printer object enables applications to communicate with a system printer. The Printer object contains functions for printing text, lines, and images. However, the printing model in the .NET Framework is quite different from that in Visual Basic 6.0. The Printer object has become obsolete. Fortunately, the functionality of the Printer object can be achieved with the classes that are provided in the System.Drawing.Printing namespace, particularly the PrintDocument class....