devxlogo

Tip Bank

Using SelText Property

Question: I can’t figure out how to add (runtime) a string variable into a textfield that already contains text.My thought was: Text1.Text = Text1.Text + “STRING VAR”this will obviously only

Aligning Columns in a List Box

Question: I have a List with names and addresses from a database.I want to have the list as shown below.Mr. Smith Street 10Mr. Andersson Street 25I’ve tried aligning them by

Getting CD Track Information

Question: I would like to read audio CD information directly from VB.At this point I have no idea how it is done, but as I want to writea database program,

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