Smoothing Out Page Transitions

Posted by: Imar Spaanjaars at Sunday, July 25, 2004 1:20:19 PM in: (X)HTML
To avoid page flickering when you (re)load a page, you can add the following (Internet Explorer only) <meta> tags to the <head> section of your page.
Read on ...

Passing Multiple Parameters to a Crystal Report Programmatically

Posted by: Imar Spaanjaars at Wednesday, July 07, 2004 12:16:19 AM in: Crystal Reports .NET

Passing a parameter to a Crystal Report is easy; all you need to do is drop a ready-made parameter field from the Field Explorer to your report and when the report is loaded, the user is asked for the parameter's value automatically.

Passing multiple parameter values to a report programmatically is a bit trickier.

Read on ...

How Do I Bind a Database to a WebFX Combo Box Control?

Posted by: Imar Spaanjaars at Saturday, June 05, 2004 12:22:50 PM in: Classic ASP
An often requested feature in Web applications is a drop-down that behaves like a Combo Box in Windows applications. If you start typing in a drop-down in a Windows application, it will preselect an item that starts with all the letters you type in. The drop-down in a Web browser preselects the item that starts with the last letter you typed in. Not very convenient. Fortunately, there are many replacements for the default drop-down available. One of them is the WebFX Combobox. In this snippet, I will demonstrate you how to fill this control with information from a database. I won't be discussing how the control works, and I also won't explain how you can use the advanced features of the control that allows you to add new data. This snippet will simply demonstrate how to generate the client-side code for the drop-down with information from a database.
Read on ...

Change the CSS Class of an Object in Your Page

Posted by: Imar Spaanjaars at Tuesday, May 18, 2004 1:19:35 PM in: CSS
It's easy to change style information of any object in your HTML page. With a bit of JavaScript you can change, for example, the border, or background-color of a paragraph.
Read on ...

Regular Expression for a Strong Password

Posted by: Imar Spaanjaars at Sunday, May 16, 2004 10:33:00 AM in: .NET General
This snippet shows a Regular Expression for a strong password.
Read on ...

Change the Printer in Visual Basic 6

Posted by: Imar Spaanjaars at Sunday, May 16, 2004 10:30:43 AM in: Visual Basic 6
The following snippet shows you how to change the current printer with Visual Basic 6 code.
Read on ...

Preselecting an Item in a Drop-Down List

Posted by: Imar Spaanjaars at Saturday, May 15, 2004 10:01:45 AM in: JavaScript
The following JavaScript code can be used to preselect an item in a drop-down list.
Read on ...

How Do I Get the Names of all Embedded Resources in an Assembly?

Posted by: Imar Spaanjaars at Friday, May 14, 2004 8:22:38 AM in: .NET General
Because the naming scheme of embedded resources is sometimes a bit awkward (you have to take the Default Namespace, folder names and resource file names into account), it can be useful to display a list of all embedded resources in your assembly with their Fully Qualified names. Put the following code in a method, like the constructor for your control for example, to get all the names in the Output window.
Read on ...

How Do I Insert a Null Value in an Access Database?

Posted by: Imar Spaanjaars at Sunday, May 09, 2004 1:25:13 PM in: ADO
When you need to insert a null value into a column in an Access database, you could use "" to indicate a zero-length string. However, a zero-length string is not the same as Null. To insert a Null value, simple pass the keyword Null for the column, as shown in the code example.
Read on ...

ADO Connection and Recordset

Posted by: Imar Spaanjaars at Sunday, May 09, 2004 1:08:30 PM in: ADO
This simple snippet demonstrates how to create and setup an ADO Connection to retrieve and display information from a database.
Read on ... 1234