devxlogo

The Latest

Determining Merge Errors in a Typed DataSet

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:

Keep Your SQL Server Indexes Fragmentation Free

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

Eliminate Spaghetti Code Using PHP Rules

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

Discover Long-Running Queries

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

An OCX-less Progress Bar

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

Using the Guard Mechanism in Multi-Threaded Applications

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

Applying Remote Technical Consulting to Your Business

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

Working with Modeled Objects in Merb

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

WPF Wonders: 3D Drawing

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,

A Handy Way to Use Notepad for Logging

Notepad has a little-known feature that lets you use it to keep a personal timestamped log of records easily. To try it, create a new text document by right clicking

Method to Release COM Object References

This method releases COM object references, such as references to an Excel application or Workbook object, etc. Pass the object you want to release to the method. private void NAR(object

Building Declarative WCF Services in .NET 4.0

lmost any application requires some sort of workflow, where the application performs one or more actions through processes made up of multiple activities. Windows Workflow Foundation (WF) lets developers create

The Rise and Fall of C++0x Concepts

hat were you doing during the morning hours (EST) of July 13th 2009? On that auspicious day, in a dramatic vote, the C++ standards committee decided to remove concepts from