The Latest

DevX - Software Development Resource

Creating Custom Keyboard Shortcuts in VS.NET

Keyboard shortcuts are extremely useful when you use a particular option repeatedly?like when you select menus or toolbars manually. Sometimes, the default shortcut is cryptic and you cannot remember it.

DevX - Software Development Resource

Our Secrets to the My Namespace in VB 2005

lthough Visual Basic .NET is just as powerful as C# for building business applications, it did not get the initial push that C# did back at PDC 2000 when Microsoft

DevX - Software Development Resource

Offshoring: It’s Not Too Late to Change

here’s a great deal of information, innuendo, and rumor circulating concerning offshore outsourcing, more widely known as offshoring: the practice of moving jobs from a host country to a different

DevX - Software Development Resource

C# to Get Edit-and-Continue in VS 2005

n Monday morning, S. “Soma” Somasegar, Microsoft’s corporate vice president for the developer division, made the unexpected announcement, via his official MSDN-hosted Web log (http://blogs.msdn.com/somasegar/), that C# will get the

DevX - Software Development Resource

Using the New GridView Control in ASP.NET 2.0

he DataGrid control is one of the most powerful controls in ASP.NET 1.x. It’s highly customizable and most Web developers are familiar with it. However, although the DataGrid control is

DevX - Software Development Resource

Wireless Data Shot: Security and the Enterprise

he Evans Wireless Development Survey is a detailed report of extensive, in-depth interviews with almost 500 developers active in wireless application or infrastructure development. It was conducted in the Fall

DevX - Software Development Resource

Instrumenting Applications with .NET Tracing

or many small and medium sized programs, it isn’t too difficult to find and fix bugs based on reproducible information from users. As applications increase in size and complexity, the

DevX - Software Development Resource

Hide .jsp Names from the URL

There are instances when .jsp names need to be hidden from the URL. This can be done using various design techniques. But if your application is small and simle enough

DevX - Software Development Resource

A Better Way to Force a C++ Class to Be a Singleton

The tip “How to Force a C++ Class to Be a Singleton” does not provide enough flexibility for the programmer to control the creation/deletion of the singleton instance. The following

DevX - Software Development Resource

Monitoring Garbage Collection in the JVM

Big applications create huge numbers of objects. Though Java manages the memory allocation and de-allocation for these objects, sometimes this huge number can result in memory leak problem. To monitor

DevX - Software Development Resource

Data Validation Using .NET and External Metadata

sing .NET reflection and external metadata makes it easy to add data validation to your objects. Nearly every application that collects data, whether from a Windows- or Web-based form or

DevX - Software Development Resource

Dig In to Drag-once Data Binding

evelopers want easier ways to create their forms. There are many approaches including UI frameworks that aim to simplify forms creation. Typically each approach makes assumptions about how the UI

DevX - Software Development Resource

Explore the Semantic Web

complex set of extensions to the World Wide Web, the Semantic Web will make data and services more accessible to computers and more useful to people. Some of these extensions

DevX - Software Development Resource

Visualize Your Code with the Class Designer

picture is worth a thousand words, as the saying goes. The new Visual Studio 2005 (Whidbey) Class Designer provides a visual design environment that allows you to visualize and manipulate

DevX - Software Development Resource

List All the Tables with a Foreign Key Constraint

Just execute this code in Query Analyzer in SQL Server: sp_msforeachtable ‘select ”?”,objectproperty(object_id(”?”),”Tablehasforeignkey”)’ Related Posts Anomaly Detection SeriesNavigating an enumHow to Create a Hash String for a String InputSonic 3

DevX - Software Development Resource

When to Use Virtual Functions

The decision to use virtual functions is a simple matter. You just need to know when you’d want to override a base method. Take the following code as an example:

DevX - Software Development Resource

Hierarchical Tree Structures in Database Tables

This recursive function retrieves a hierarchical tree structure from a table with just four columns that describe each node in the tree: Level (the depth of the node in the

DevX - Software Development Resource

Get the End Date of a Financial Quarter

Often, in financial applications, the quarter end date is very important for financial calculations. The following function gets the end date of a Financial Quarter that is relative to the

DevX - Software Development Resource

Extract the Contents of ZIP/JAR Files Programmatically

Suppose jarFile is the jar/zip file to be extracted. destDir is the path where it will be extracted: java.util.jar.JarFile jar = new java.util.jar.JarFile(jarFile);java.util.Enumeration enum = jar.entries();while (enum.hasMoreElements()) { java.util.jar.JarEntry file