Microsoft Forms 20 Object Library Vb6 - 'link'

' 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

In your project references, you can uncheck "Microsoft Forms 2.0 Object Library" and instead browse to the specific FM20.DLL to lock a version. microsoft forms 20 object library vb6

However, for internal enterprise applications where Microsoft Office is already deployed, the Microsoft Forms 2.0 library remains an excellent, zero-cost solution. ' Add a control Dim btn As MSForms