Tip Bank

DevX - Software Development Resource

Suffering from Spam?

One of the major ways that spammers get email addresses is by crawling Web pages and extracting any email addresses they find. As part of your own Web site development,

DevX - Software Development Resource

Named Parameters in C++

Named parameters allow you to send function arguments in any sequence. This is very useful when your functions have long parameter lists. Named parameters are not supported in C++, but

DevX - Software Development Resource

Return the Absolute File Path of a Class

This code retrieves the local absolute path of the class file containing the specified class name, as prescribed by the current classpath. import java.net.URL;public class FilePath { public static String

DevX - Software Development Resource

Determine Whether a Combobox Is Being Loaded

Say you have a combobox being loaded at form initialization from a database and you have code in the combobox’s SelectedIndexChanged event. This may cause unwanted exceptions: Private Sub LoadComboBox()

DevX - Software Development Resource

Two Methods to Remove Duplicates in an ArrayList

Here are two methods that allow you to remove duplicates in an ArrayList. removeDuplicate does not maintain the order where as removeDuplicateWithOrder maintains the order with some performance overhead. The