devxlogo

Tip Bank

Recognizing Tab Key

Question: I have a text box that updates a memo field in Access.I would like to give the users the ability to insert tabs.The KeyDown and Keypress will not recognize

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

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

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

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:

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

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

Filling a Structure Automatically

Question: After a structure is defined witha “TYPE” declaration, do you know of a way to directly fillthe structure with data, rather than individually assigingthe elements, or reading from a

Two VB Instances, Only One Visible

Question: I am running my VB application on Novel 3.12 file server. When application is running it shows to 2 instances of programon file server console: for example if application