Positioning a Common Dialog
If you are you unhappy with Microsoft’s comment in the help (“Note:You cannot specify where a common dialog box is displayed”),but like the idea of common dialog controls, try this.
If you are you unhappy with Microsoft’s comment in the help (“Note:You cannot specify where a common dialog box is displayed”),but like the idea of common dialog controls, try this.
Most programmers want their applications to look like commercial software, so they want to add their ownhelp files. How do you open the contents of a Windows help file in
The User Tip submitted by Nick Bulka in the January 1996 issueof VBPJ was interesting, but, as with so much code, improvable: Sub TextHiLite( t as TextBox ) t.SelStart =
To make icons look better, Windows 95 uses three standard-size icons;16-by-16, 32-by-32, and 48-by-48. These three standard sizes should beincluded in any ICO file you create for inclusion in your
With the advent of long file names in Windows 95, it may be necessary to display a trimmed version of a path in a text box or label. The following
Some controls in VB4 and VB5, such as the TextBox control, have a default context menu that appearswhen you right-click on the control. If you want to pop up your
If your users have the option to type a directory where they wantfiles installed, they may type a directory that doesn’t existor a directory that is several levels below another
In a collection object, such as the ListItems collection from the ListView control, or simply a generic VBcollection object, you can specify a key to uniquely identify the item. Documentation
To center a form, you only need one API call, no UDTs, and two constants. This solution is based on thefact that GetSystemMetrics reflects real estate taken up by the