
Taking a Form in Front of Another Form
When building a floating toolbar, you might need to keep it in front of the main form of your application. This took time to do in VB3 and VB4, because

When building a floating toolbar, you might need to keep it in front of the main form of your application. This took time to do in VB3 and VB4, because

This fragment of code from the VB standard module shows the GetComCtlVersion function that retrieves the major and minor version numbers of the Comctl32.dll installed on the local system. Use

To set the shortcut key of a menu item to something other than what the VB menu editor displays, use this code in the Form_Load event of a form: Private

You can easily give your check-box control a Locked property without making your own custom control. First, create a frame large enough to contain your check boxes. Clear the caption

You can rotate any object about a center using polar coordinates. Simply define your center Xo and Yo, which in this case is the center of a form. The amount

First, create a VB4-16 project and call it VB16Project. In the project, create a class module that includes a function that calls your 16-bit DLL in the usual way. Name

I wanted users to be able to get a definition for each item in a list box by right-clicking on the item. Unfortunately, right-clicking doesn’t automatically select the item, so

You can set the properties of any menu item by selecting the menu item in the Properties window drop-down list. This is often faster than selecting the Menu Editor menu

Question: I have created a simple form, but when I try to submit it, a message appears saying that it doesn’t have permission. The CGI file is on my hard