: The FM20.dll is not registered or the ProgID is wrong. Solution :
' Add a Forms 2.0 UserForm to project ' Then place a Forms.TextBox (named txtTest) and Forms.CommandButton (named cmdShow)
ScrollBar works similarly but with Min , Max , SmallChange , LargeChange .
The Microsoft Forms 2.0 Object Library in Visual Basic 6.0 The (contained in FM20.DLL ) is a legacy component primarily designed for creating user interfaces in Microsoft Office applications via Visual Basic for Applications (VBA). While it is often sought by Visual Basic 6.0 (VB6) developers to modernise application appearance or handle specific data tasks, its use in standalone VB6 projects is controversial due to significant licensing and distribution hurdles. Capabilities and Key Controls
Now you can drag these controls onto any VB6 form.
:
In VB6, it is not the default control set (the intrinsic Toolbox controls are), but it is available as an additional reference for advanced form features.
Private WithEvents dynButton As MSForms.CommandButton
: The FM20.dll is not registered or the ProgID is wrong. Solution :
' Add a Forms 2.0 UserForm to project ' Then place a Forms.TextBox (named txtTest) and Forms.CommandButton (named cmdShow)
ScrollBar works similarly but with Min , Max , SmallChange , LargeChange .
The Microsoft Forms 2.0 Object Library in Visual Basic 6.0 The (contained in FM20.DLL ) is a legacy component primarily designed for creating user interfaces in Microsoft Office applications via Visual Basic for Applications (VBA). While it is often sought by Visual Basic 6.0 (VB6) developers to modernise application appearance or handle specific data tasks, its use in standalone VB6 projects is controversial due to significant licensing and distribution hurdles. Capabilities and Key Controls
Now you can drag these controls onto any VB6 form.
:
In VB6, it is not the default control set (the intrinsic Toolbox controls are), but it is available as an additional reference for advanced form features.
Private WithEvents dynButton As MSForms.CommandButton
© NGG Frontier 2026. All Rights Reserved.