
Having Fun with Code Snippets
here are some pieces of code that you write over and over again. Some of these pieces make sense as standard components or standard methods, such as logging or validation.

here are some pieces of code that you write over and over again. Some of these pieces make sense as standard components or standard methods, such as logging or validation.

Learn how to install and run your ASP.NET applications on systems without IIS in six easy steps:

In Web pages, when you move the mouse over an image, you can see a description of that image.Similarly, you can have a mouse over text for a link in

Usually, the RMI client is an RMI client only in that it specifies the true store zone for certificates. For example, you can use any certificate available to System.setProperty: (“javax.net.ssl.trustStore”,”SSLcert”);

he Sudoku game is the latest craze in the UK, and it’s become so popular that every major newspaper now publishes puzzles with varying difficulty levels. I’ve found the process

hen I was writing code for user interfaces, I needed to present data in different ways. Logically it wasn’t difficult, but since the presentation layout was often quite different from

he recently released Java Standard Edition 6 (Java SE 6, a.k.a. Mustang) beta is feature complete and stable enough for mainstream evaluation. I downloaded and test drove the release in

y now, it’s certainly no secret to anyone that Flash is a successful delivery option for animation and interactive content on the desktop. Flash content can be distributed in its

tandard Ink collection is incredibly easy using the Tablet PC SDK; however, for scenarios that require more control or non-default behavior, default Ink collection may not be the best choice.

or someone coming to ActionScript development from a traditional client-server background, connecting Flash to a database is a bit of a black art. In the .NET or Java world, you

etween project deadline pressure and user demand for the latest software features, security often isn’t the highest priority for development teams. Many times, eliminating vulnerabilities is seen as a task

here’s a lot of new ground to cover about data binding in Windows Forms 2.0, so it’s best to just jump right in. This article assumes you have SQL Server

n the first part of this article, you saw how to use the Windows Forms version of the ReportViewer control. This article walks you through the differences and discusses the

t’s the responsibility of the developer to ensure the best user experience for the increasing number of mobile PCs being bought and used. Every activity your application carries out can

n the previous articles in this series, you received a primer on the Windows Communication Foundation, before moving on to look at the fundamental aspects of the framework insofar as

DO.NET 2.0 is faster than the first version of ADO.NET; in some instances, significantly faster. While many view ADO.NET 2.0 as more evolutionary than revolutionary, it provides many functions to

As you work on consecutive projects, you will eventually find yourself coding the same functionality repeatedly. When you reach this stage, you’re ready to explore the idea of code reuse.

omain-specific languages (DSLs) are becoming more and more difficult to avoid. A growing number of vendors are announcing support for DSLs and, in the process, moving away from all-purpose UML.

hen you’re trying to change the way that SharePoint appears and operates to something more in-line with what your organization needs, you’ll find that modifying the site definition to change

Use the following code to copy selected text within a Web browser to a clipboard in VB.NET 2.0: Dim docx As HtmlDocument = WebBrowser1.Document Dim readme As Object = Nothing’assume

Ever wanted to bookmark a Web page so you can read it later? Here’s a quick way to do it, that works in both IE and Firefox: CTRL+D This does

ou may have noticed that synthesized voices are becoming more commonplace. Hundreds, if not thousands of electronic toys and gadgets speak to their owners in robotic voices. Whether it is

People using loop variables in compilers like VC++ 6.0 are acccustomed to using loop variables after the loop. For example, take a look at the following code: for (int i=0;

Use the following code to find the total number of tables in an MS Access database: select count(name) from msysobjects where type=1 and flags=0 Related Posts How To Connect AirPods

The following code allows you to move a non-modal JDialog together with its parent JFrame and vice versa in a Swing application. //new MovingTogether(jFrame1, jDialog1); (“jFrame1” is a JFrame//and “jDialog1”

hether it’s full-text search or geometric queries, you’ll have to move beyond BLOBs to get the most from storing Ink in the database. The SQL standard does not provide an

lthough the EJB 3.0 specification has yet to be released, it is already generating much interest in the software development community by both proponents and opponents alike. All recognize the

llocating objects on a predetermined memory address has become a popular idiom in recent years, particularly in mobile programming, embedded systems, and custom garbage collectors. However, the technique shown in

he little voice in my head shouted “Don’t do it! Don’t do it!” as I contemplated using the worn out clich? “Good things come to those who wait” to describe

n a recent instance of this column, I referred to my “evil twin,” as in: “And I didn’t write this article. My evil twin did it. Don’t come looking for