Keep Track of Index Numbers
When using control arrays, I find it difficult to keep track of the index number of each control. Even if I use constants, I often have to look up the
When using control arrays, I find it difficult to keep track of the index number of each control. Even if I use constants, I often have to look up the
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
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
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
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
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:
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,