devxlogo

October 1, 1996

Including Single Quotes in Queries

Question: How do you include a single quotation mark in a query?Example:“Select * From BATCH Where BATCH.NAME = ‘O’Connel’” Answer: Simply replace the single quote with two single quotes together.

Advantages/Disadvantages of Using Sub Main

Question: Can you please tell me when do you use Sub Main and the advantages of using it? Answer: In certain programs, initialization code has to run before any windows

Putting Controls on MDI Forms

Question: I have a project I am working on including an MDIform with a toolbar. I am wanting to put a combobox on the toolbar, but VB4 will not let

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

Documentation

Question: How do I write a help file in Word 6, and then, how do I compile it? I can’t find any documentation on it. Answer: This is unfortunately not

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

Compilation Requirements

Question: I know I need VB40032.DLL to run my visual basic programs,but I was wondering if it is possible to make a VB executablethat does not require VB40032.dll. Answer: VB40032.DLL

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