Referencing VB6 COM Objects

 

You can use Device.MyObject, Item.MyObject or Group.MyObject to reference VB6 COM objects such as Form controls.  However, an unhandled exception may occur when the application terminates.    To avoid unhandled exceptions, you should  Set .MyObject = Nothing prior to terminating the application.