20 Object Library Vb6 - Microsoft Forms

To start using the Microsoft Forms 2.0 Object Library in your VB6 applications, you'll need to follow these steps:

Private Sub btnSubmit_Click() MsgBox "Customer: " & txtName.Text & vbCrLf & _ "Active: " & IIf(chkActive.Value, "Yes", "No") Unload Me End Sub microsoft forms 20 object library vb6

myForm.Show

when working with dynamic controls