Tip Bank

DevX - Software Development Resource

Embedding Double Quote Characters in Strings

Question: How can I include a double quote character in a string? I couldn’t find any masking characters like backslashin C. Answer: To include the double quote character within a

DevX - Software Development Resource

Inserting a Duplicate Record

Question: When creating a database (using the Access 1.1 engine) and selecting a field to be a primary index and requiring a unique index value, what will happen when the

DevX - Software Development Resource

Creating a Login Window

Question: I have been attempting to write some code that acceptsinfo from text boxes labeled “Login” and “Password.”I then need to check the password up to x amount of timesbefore

DevX - Software Development Resource

Searching Date Fields

Question: In procedure, I used statement like this:ds.FindFirst “fulldate = ’95-10-31′” ‘ds is DynaSet variablebut always it fails, and ds.NoMatch Value is True(-1).What’s wrong with this? Please help me. Answer:

DevX - Software Development Resource

Calling Stored Procedures

Question: Can one call a stored procedure or function in oracle 7through odbc from visual basic? This might be a questionfor an oracle user group, so if you know where

DevX - Software Development Resource

Changing Database Structure

Question: I’m using VB 3.0 to work with databases in the Jet 2.0 format. I expect it will be necessary to add new fields to the database sometime in the

DevX - Software Development Resource

Using Access 7.0/95 with VB 3.0

Question: I am working on a system with Windows ’95 and Office for Windows ’95. This includes Access 7.0. How can I get VB 3.0 to recognize databases I have

DevX - Software Development Resource

Creating 3D Forms

Question: I have been successfully using the CTL3DV2.DLL to make 3D message boxes and common dialogs, but I have not been able to get it to work with standard VB

DevX - Software Development Resource

Playing WAV Files

Question: How can I play WAV or MID files through Visual Basic? Answer: Use the MSMCI.VBX, provided with VB/Win Pro 3.0. You can also declare and call the MM-functions manually:Declare