devxlogo

Tip Bank

Creating 2 Dimensional Array

Question: I am trying to design a telephone directory and am unable to set the 2 dimensional arrayas an unknown number. How do I do this? Answer: The best way

Printing to MS-DOS Window

Question: I would like to create a module that has no visual objects. It just prints to a MS-DOS window and then exits. Is this possible? Answer: Unfortunately, the only

Object Was Unloaded Error

Question: When I try to unload some forms with database controls on them while in the Form_Load event, VB tries to show the form again and issues the statement ‘Object

Simulating Buttons

Question: I would like to make a row (in a frame) of command buttons that could light up when depressed. And also have some small round buttons (like option buttons)

Providing Multiple Colors

Question: I having trouble using strings and text. I am writing a document creation system and all the text in between the “” char. would be red. All other text

Closing a Data Control

Question: I am using the data control through the Standard Version of Visual Basic 4.0. The data control is linked to a table in our database and when I try

Sharing Data Between Forms

Question: I have a VB app that uses multiple forms. On the first form, I entercustomer information. The other forms calculate the cost of my services tomy customer. I would

Multiple Simultaneous Table Inserts

Question: I am programming a multiple table database and can’t figure out to link each table together so that when a person is posting data to one table that the