Simple Example of Extending A Dialog Box
Category:Forms and Controls
Version Compatibility: Visual Basic 6
Add the included code into a class module and cut and paste the usage example into your form. Be sure to add two textBox controls, one named txtFirst and the txtLast. This class module lets you get and set a first and last name property, show the dialog and it will display as vbModal just like regular VB dialogs. Clicking the OK button updates the display.
Instructions: Copy the declarations and code below and paste directly into your VB project.