devxlogo

Tip Bank

Cancelling a Window During Load

Question: Supposing that in Form_Load I determine that I wish to cancel the load of the form (so that nothing is in memory and nothing is displayed to the user).

Getting all Filenames

Question: I am using VB4.0 Pro (16 bit) in WFWG and need to read entire directory of files, one after the other, without using the common dialog control. Answer: Look

Determining Object Type

Question: How can I determine the type of object that I click, using only one general procedure? What I mean is that I want to have several objects of any

Adding Sound to an Application

Question: I have a application I need to run off a floppy, I am trying to find a space effective way to add sound to my program. Thiswill be in

Determining Exit Method

Question: I am currently experimenting with VB 3.0. In version 1.0 common dialogs provided the information about which button was used to exit from the dialog. I want to know

Misalignment of Columns

Question: I try to align numeric numbers in columns (to be right-justified). Hwvr, some of the numbers don’t right-justify very well. In my example, most of these numbers hve 2

Adding Icons to System Tray

Question: Is is at all possible to create a VB 3.0 applicationto place itself on Win95’s system tray?or does it *have* to be 32 bit (vb4.0) ?If so, how? Answer:

Using Tab Control

Question: I have an old DOS-Clipper app that I plan to upgrade to VB. The old app handles insurance claims. To enter a new claim, 4 screens of data are

InputBox Function: Type Mismatch Errors

Question: I have written a small program that calculates geometry problems. I have used input boxes to retreive data from the keyboard, however during runtime if I click the cancel