Tip Bank

DevX - Software Development Resource

Creating INI Files

Question: How do I create INI files to meet the common microsoft standard? Answer: INI files can be created with Notepad, or any other plain text editor. Once the file

DevX - Software Development Resource

Filling from Recordset

Question: How do I fill a combo box with the values from an Access 2.0query or table? I have the compatibility layer installed and everything works except I can’t figure

DevX - Software Development Resource

Creating Nested Queries

Question: My question is with regards to VB’s ability to handle complexSQL. I have the application I am developing set up in the followingway: I copy the SQL created into

DevX - Software Development Resource

Dialing a Phone

Question: Can you show me how to open COM1: and dial a phone number using tone dialing? Answer: Try this. This is out of the VB Frequently Asked Questions file.PhoneNumber$

DevX - Software Development Resource

Using 3.0 Files in 4.0

Question: How do I upgrade my version 3.0 files to version 4.0? Answer: If you open your 3.0 project in any variant of VB 4.0, it will ask you if

DevX - Software Development Resource

Creating a Help File for an Excel Document

Question: I am trying to include a button in an Excel worksheet that will allow the user to click in to receive help infilling out the spreadsheet form properly. However,

DevX - Software Development Resource

Concatenation Functions

Question: I am using the ‘Execute’ to run an SQL statement.The sql is Microsoft SQL. The SQL is to ‘INSERT into table …SELECT …FROM TABLES…’. The select portion of the

DevX - Software Development Resource

Communication Between Forms

Question: I have two forms. There is a combo box on Form1 and a list box on Form2. Form1 has functions to add and delete names from the combo box.

DevX - Software Development Resource

Using Global Variables

Question: I have visual basic 2.0 Hopefully not for long. If I make a button that does a funtion like this. n = n + 1 print nit gives me