Open Help File Contents
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
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
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
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
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
In VB4, DBGrid’s columns can be referenced using object variables. Thisreduces the amount of typing required and makes code more readable. Thecode is also more efficient because the full name
I have found a solution to the problem of GetModuleUsage not workingin 32-bit VB4. The TaskID returned by Shell can be used by AppActivatelike this: TaskID = Shell(“DOSAPP.EXE”, _ vbNormalFocus)