devxlogo

Tip Bank

Entering Large Amounts of Text

Question: I have a problem with writing text in Visual Basic. I would like to enter several hundred pages of text into my program, Any ideas of how to do

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)

Connecting Network Drives

Question: When I issue the command ‘NET USE’ in msdos, I get a message that a specific drive is disconnected, how can I connect that drive in VB? If I

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