Tip Bank

DevX - Software Development Resource

Painting as 3D

Question: How do I use 3D effects on message boxes and common dialogs? Answer: Here is the code you need, in the form of two simple functions. Please note that

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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,

DevX - Software Development Resource

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).

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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