Microsoft Forms 20 Object Library Vb6 (2026)

Microsoft Forms 2.0 Object Library

In Visual Basic 6.0 (VB6), the ( FM20.DLL ) is primarily used for its set of lightweight ActiveX controls (like text boxes and combo boxes) and for handling clipboard data via the DataObject .

  1. Register the Library: First, you'll need to register the Forms 2.0 library on your development machine. You can do this by running the following command in the Run dialog box (Windows key + R): regsvr32 fm20.dll
  2. Add a Reference to the Library: Next, open your VB6 project and add a reference to the Forms 2.0 library. To do this, select Project > References from the menu, then check the box next to Microsoft Forms 2.0 Object Library.
  3. Create a New Form: Once you've added a reference to the library, you can create a new form in your VB6 project. To do this, select Insert > Form from the menu, then choose frm as the form type.

End Sub

CheckBox

| Control | Description | |---------|-------------| | | Multiple selection option | | ComboBox | Drop-down list with text entry | | CommandButton | Clickable button | | Frame | Container for other controls | | Image | Picture display | | Label | Static text | | ListBox | Selectable list | | MultiPage | Tabbed interface | | OptionButton | Single selection (radio button) | | ScrollBar | Scrolling control | | SpinButton | Increment/decrement control | | TabStrip | Tab navigation | | TextBox | Text input/output | | ToggleButton | Two-state button | microsoft forms 20 object library vb6