The Microsoft Forms 2.0 Object Library is a COM (Component Object Model) library that provides a set of objects, properties, and methods for creating and manipulating forms in VB6. This library was first introduced as part of Microsoft Office 97, and it's been a part of subsequent Office releases, including Office 2000, XP, 2003, and 2007.
Create a new Standard EXE project in VB6. Step 2: Add the Microsoft Forms 2.0 Object Library via Components (Ctrl+T). Step 3: Draw a MultiPage control on your VB6 form. Resize it to fit. Step 4: Add a CommandButton named cmdOK and another named cmdCancel . microsoft forms 20 object library vb6
' Add a control Dim btn As MSForms.CommandButton Set btn = myForm.Controls.Add("MSForms.CommandButton") btn.Caption = "Click Me" btn.Left = 100 btn.Top = 80 The Microsoft Forms 2
While FM20 is powerful, it wasn't originally designed for standalone VB6 applications. Keep these "gotchas" in mind: The Distribution Dilemma Step 2: Add the Microsoft Forms 2