Forms 20 Object Library Vb6: Microsoft
Thread: vb6 unicode control by Microsoft Forms 2.0 Object Library
: Your users must have a licensed copy of Microsoft Office. FM20.dll is not redistributable without an Office license. If your app runs on a server (e.g., a Windows Service), you cannot rely on this library. microsoft forms 20 object library vb6
' Add a command button to the form Dim cmdButton As CommandButton Set cmdButton = frm.Controls.Add("fm20.CommandButton", "cmdOK") cmdButton.Caption = "OK" cmdButton.Left = 100 cmdButton.Top = 100 Thread: vb6 unicode control by Microsoft Forms 2
Microsoft has not updated FM20.DLL in years, and it is not supported in .NET or VB.NET directly. However, for VB6 developers who need richer controls without third-party OCXs, Forms 2.0 is an excellent built-in solution. ' Add a command button to the form
However, relying on this library in standalone desktop applications is a massive liability. Let's explore why you should avoid it and how to strip it out of your code safely. 🛑 The Core Problems with FM20.DLL 1. It is Legally Non-Redistributable
To use these controls, you must first reference the library in your project: Open your VB6 Project. Go to (or press Ctrl+T ). Scroll down and check Microsoft Forms 2.0 Object Library . Click Apply or OK . You will now see a new set of icons in your Toolbox. Key Controls and Features