Tip Bank

DevX

Executing DOS Commands

Question: How can I run the following “SHELL” command in VB? It works fine in PowerBasic, but VB 3.0 doesn’t like it.SHELL “DIR *.BKP > FILES.LST”Any ideas? Answer: Try this:Shell

DevX

Detecting Row Selection in TrueGrid

Question: I have a database (Access) with 6 tables. I created a form for each table. I created an Apex True DBGrid for the database using the first table for

DevX

Validating Input Data in LostFocus

Question: I have two fields on the screen that I use to enter a date range. I want to check the entry on the lost focus with IsDate, and in

DevX

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

DevX

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

DevX

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

DevX

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

DevX

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

DevX

Printing Records

Question: I am writing a database program and I am using the JET DATABASE ENGINEI would like to know how to print records out of the DATABASE to my printer.