Tip Bank

DevX - Software Development Resource

Data Controls and Open Connections

Question: I have five data controls on a form that access five tablesfrom the same database. I want to open the database just once.Does having five data controls mean that

DevX - Software Development Resource

Installing Database Application

Question: I am having trouble using the setup wizard for a project I have created in Visual Basic. The problem is after I setup the program on another computer, the

DevX - Software Development Resource

Global Variables Between Applications

Question: The VB4 help files state that Public Declarations in a General module are available to all forms andmodules in all applications. Is this true? I can’taccess such variables across

DevX - Software Development Resource

Creating Long Delays

Question: I’ve been trying to create a simulator – it requires as close to real-time operation as possible. I have a couple of questions about timers.How do I activate a

DevX - Software Development Resource

Putting More Controls on a Form

Question: If you are designing a program, but there is not enough room on a form even when it is maximized, what can you do? Answer: If you use a

DevX - Software Development Resource

FRX Files

Question: Could you (easily) please tell me what .FRX files are in VB?I’d be forever grateful. Answer: FRX Files are displayed in Windows 95 as Visual Basic Form Stash Files.

DevX - Software Development Resource

Getting Entries from INI Files

Question: I want to read the MSMAIL.INI file to get information for my program when it starts, and write information there when the program is terminated. I am looking at

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