Microsoft Forms 20 | Object Library Vb6
Dim tb As MSForms.TextBox Set tb = Me.Controls.Add("Forms.TextBox.1", "tbDynamic", True) tb.Left = 100: tb.Top = 100: tb.Width = 200 tb.Text = "Dynamic"
If you find the FM20.dll too problematic or cannot redistribute it, consider these alternatives: microsoft forms 20 object library vb6
To use the Microsoft Forms 2.0 Object Library in your VB6 project: Dim tb As MSForms
They offer a slightly more modern, "Office-like" aesthetic compared to the Windows 95-style intrinsic controls. How to Add the Library to Your VB6 Project its long-term support is uncertain.
: Microsoft is actively pushing Office away from legacy controls. While FM20.dll works today, its long-term support is uncertain.