Simulate an Outlook Address Book Records Selection
This tip shows how to simulate the look of an Oultlook address book records selection. Open a New VB Project and add a New Form with 1 Text Box and
This tip shows how to simulate the look of an Oultlook address book records selection. Open a New VB Project and add a New Form with 1 Text Box and
The purpose of the JDBC API is to make it easy to use other drivers.For example, the driver can be passed into an application using a command line system property.
This function returns the next alpha range. When you pass
To compact MDB databases using ADO, just include a reference to the ‘Microsoft Jet and Replication Objects 2.6 Library’ (distributed with the MDAC 2.6 package) in your VB project. The
Subclass PlainDocument, then set the document of the JTextfield to the subclass as shown below: JTextField myJTextfield;myJTextfield.setDocument(new DigitsDocument());class DigitsDocument extends PlainDocument { public void insertString(int offs, String str, AttributeSet a)throws
Opening recordsets as ForwardOnly or ReadOnly makes them move faster between records. In addition, storing fields to variables before begining the loop speeds up field access. Example: * Create a
With Modal forms there is a need to restrict the movement of the mouse to the form until user closes the form. This can be achieved by using the ClipCursor
Most beginners accidentally declare duplicate variables of different data types or of the same data types. The following illustrates this: class Duplicate{ String data; private void fun() { String data=
Uniqueidentifier(GUID) can’t be used in aggregate operations like count(), etc. This problem may be solved by casting uniqueidentifier as varchar. Presuming that guid_column is a uniqueidentifier column: select count(cast(guid_column as