devxlogo

Tip Bank

Establish a Data Dictionary

If your SQL looks like this, you need to ask yourself how much code you’d have to inspect and revise if you decided to change a database field or table

Improve on the Bubble Sort

A bubble sort’s execution time is a multiple of the square of the number of elements. Because of this, the bubble sort is said to be an n-squared algorithm. You

Context-Sensitive Help for Disabled Controls

If you want a form to support context-sensitive help, set the WhatsThisButton and WhatsThisHelp properties on the form to True, and set the WhatsThisHelpID property to a corresponding help-file topic

Slam Selected Items Into an Array

Use this code to retrieve all selected list items in a multiselect-style listbox in one API call. It’s a lot easier than iterating through a large list using For…Next. This

Sorting With the sort() Algorithm

The generic algorithm sort() is part of the Standard Library. sort() takes two arguments of type const iterator that point to the beginning and the end of the sequence respectively:

Storing a Last-Modified Date in a Cookie

On informational Web sites, it is often handy to be able to show certain kinds of information only once, and then keep it hidden until it is updated. That way,

Changing a Layer Through a Link

Question: Can I change the text of my layer through a link? I’ve heard it’s impossible and that I have to change the visibility of the layer and replace it

DHTML and XML Courses

Question: Can you recommend a training company that offers DHTML and/or XML courses? Answer: I unfortunately can’t make a specific recommendation because of the nature of what I do, but