
Determining Whether a Site Is Running or a URL Is Valid
The HttpWebRequest object makes it easy to check whether a web site is available or a URL is valid. Its HttpStatusCode property returns the status code from the request, which

The HttpWebRequest object makes it easy to check whether a web site is available or a URL is valid. Its HttpStatusCode property returns the status code from the request, which

In some cases, the JavaScript triple equals sign operator can simplify variable type and value checking. The operator tests both type and value for equivalency. Here’s a simple example HTML

ugmented Reality (AR) seems to be on everyone’s radar. For the two of you who haven’t watched a YouTube video about it: Augmented Reality is the ability to overlay location

very declaration of an enum type must be a complete definition containing a full list of its enumerators. However, in some use cases declaring an enumeration without providing the enumerators

ne of the first things you will learn about when you begin programming iPhone projects is view controllers. Beginners often get intimidated by the amount of work they need to

espite having a good understanding of the term null, most developers still fail to adequately accommodate null values in their databases. Accommodating null values appropriately is an important part of

Visual Studio makes it simple to add an installer class to your Windows service. Here are the steps: Open the “Solution Explorer” (press Ctrl-Alt-L, or go to the “View” menu

The BackgroundWorker class in the System.ComponentModel namespace (in the .NET Framework 2.0 and later) lets you launch time-consuming operations on a separate thread, which helps keep your user interface (UI)

When you need to bind a Hashtable to a DropDownList control, rather than iterating through all the items in the Hashtable, creating ListItem objects, and adding them to the Items

Often, when you need to get the maximum or minimum value for a specific column, you are also interested in getting more data about those particular rows, so you end

Merging typed DataSets can cause a “Merge Constraint” error, which explains the problem, but doesn’t help much in solving it. Here’s how to find the exact cause of the error:

he previous article on WPF 3D development showed examples that all use relatively simple single-color materials. The material’s brush determines its color. But WPF also allows you to make materials

he Mini CMS system begun in the first article in this series needs to have some base components that represent the actual workplace. These will support loading and showing modules

?year ago, everyone was all but certain that the C++0x standard was just around the corner, and that it would include concepts (see Danny Kalev’s earlier interview with Bjarne Stroustrup,

ou risk a great deal by neglecting your database. Without routine maintenance, a growing database becomes lethargic. As performance degrades, the potential for errors or a system crash increases. At

HP Rules is a rule engine that lets you separate conditional logical statement from your source code and from the database, placing the conditional logic in reusable files, where you

Let SQL Server tell you which queries take the longest to run. The following query returns the five longest-running queries. You can change the TOP 5 to whatever number best

If you need a progress bar in your VB6 application, but don’t want to add the reference to Microsoft Windows Common Controls, here’s a simple way to create a progress

This tip applies to VS project files for .NET languages such as C#, VB.NET, and Managed C++. Follow these steps to edit a project file: In the context Menu of

Using the guard mechanism in multi-threaded applications instead of explicit Lock and Unlock instructions can save you from a number of undesirable synchronization problems. Developers writing multi-threaded applications often fall

If you have a web site already in production, but need to make a small coding fix to an .aspx page, instead of making the change in the code-behind file

ollowing the introduction of its BlackBerry Storm touch phone, Research in Motion (RIM) released the BlackBerry Java Development Environment (JDE) API 4.7.0 (with version 5 in beta). This latest version

rowing product companies constantly face the challenge of scaling their consulting practices. Besides organic growth, that depends on several macro and micro economic factors, these companies look for partners to

ecause it facilitates communication via an interoperable format, JavaScript Object Notation (JSON), the Yahoo! User Interface library (YUI) allows you to implement the server side in any technology. The server

his is the final article in the Developer’s Guide to Python 3.0 series. It covers the Python 2.6 language and how to migrate from Python 2.x to Python 3.0, and

he new Merb MVC framework offers developers exceptional scalability, agility, flexibility, and performance, particularly developers who have been working with Ruby and Rails. In The Merb Way, author Foy Savas

hen many developers think of WPF (if they think of it at all), they think of user interfaces and controls, such as panels that fly on and off the screen,

When you want to access some value set in the browser in JavaScript code in your server-side code, you’ll need to pass those values to the server during postback. Fortunately,

This tip shows you how to automate the process of removing DataLinks in Excel using C#. A DataLink is a link stored in one Workbook that retrieves data from another

To limit your application to a single instance on any given machine, add this loop to your application startup code. The loop iterates through the Processes list looking for an