devxlogo

Tip Bank

Display Phone Data in Mask

Question: Our phone numbers are stored in SQL 7 database in the format 9999999999. How can I use ASP to display the phone numbers using the mask (999)999-9999? Answer: You

JDK Editions

Question: When I go to download the Sun JDK, I see there’s an Enterprise Edition, and a Developer Edition, as well as a Standard Edition. What are thedifferences between all

Limiting Search Results

Question: When my clients enter searching criteria, I want to limit the number of results. For example, if the number of results is over 100, I want the user to

Get the list of ODBC drivers

The ODBCTOOL.DLL library contains three functions that make it easier to manage DSNs. To run the following code you must add a reference to the “ODBC Driver & Data Source

Get the list of ODBC DSNs

The ODBCTOOL.DLL library contains three functions that make it easier to manage DSNs. To run the following code you must add a reference to the “ODBC Driver & Data Source

Launch the default browser on a given URL

The following routine launches the default browser and loads the specified URL in it. The argument doesn’t have to include the HTTP:// prefix. If the operation is successful it returns

Change the ShowInTaskbar property at runtime

The ShowInTaskbar property lets you decide whether a form is visible in Windows taskbar or not. However, this property is read-only at runtime, so it seems that you can’t change

Open Windows’s Start menu

By simulating the pressing of the “Windows” menu – or better yet, of the Ctrl-Escape key combination, which also works on older keyboards – you can programmatically bring up the