It sounds like you're working with some classic VB6 (Visual Basic 6.0) and looking to use the Microsoft Forms 2.0 Object Library
While powerful, the Microsoft Forms 2.0 Object Library was not designed for standalone redistribution. You must consider these factors before deploying your app: microsoft forms 20 object library vb6
The Forms 2.0 library is not just about controls. It includes supporting objects like: It sounds like you're working with some classic
' 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 microsoft forms 20 object library vb6