VISUAL BASIC_6
 

9. Creating a User Defined ActiveX Control


5.  Microsoft ActiveX Control Test Container: 

A new utility called the ActiveX Control  Test Container has been included in VB-6.   This tool allows you to load an ActiveX control that you have created in order to test.   From the start up menu select Microsoft Visual studio->Microsoft Visual Studio 6.0 Tools->ActiveX Control Test Container as shown in the figure 12.   You will be presented with a blank ActiveX Test Container window as shown in the figure 13.   Select Edit->Insert New Control.   You will get a list of ActiveX Controls as shown in the figure 14.   Select rproj.rform.   The ActiveX control becomes active and you can select a gif file for display as shown in the figure 15.    You can insert the Calendar Control and you will find that the calendar becomes dynamic. 

                    Figure 12


                              Figure 13 

                     Figure 14 

                                 Figure 15


 

Copyright © 2001 Selfonline-Education. All rights reserved.