Using Visual Basic to Build ActiveX Controls
As you go through this next section, you should notice the similarities with ActiveX controls and ActiveX DLLs. In fact, all your knowledge about public and private properties and methods comes into play here. The Public keyword enables functions and methods to be called from outside of your control just as they can be with a DLL.
The ActiveX control that you will make will let you view the account transaction history that has gone on for any customer. You will tell the control what customer you want, and the control will then load the accounts into a drop-down list box and retrieve the account details.
First, you will create an ActiveX control project and add on a couple of standard Visual ...
Get Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.