The Latest

DevX - Software Development Resource

Inheritance 101

isual Basic developers had wanted inheritance for what seems like decades. The feature finally made it into VB.NET, making VB.NET an official object-oriented language. By now you are probably already

DevX - Software Development Resource

VB Paradigm Shift

ver the last few months, the blogosphere has been waging a battle for continued development and support for VB6. This battle reached its crescendo a few weeks before Microsoft’s schedule

DevX - Software Development Resource

Are We There Yet?

dmit it. You’re dying to know. How did the cross-country move, with four cats on a packed American Airlines Luxury Liner (if ever there was a misnomer, that’s it) go,

DevX - Software Development Resource

Capturing the ESCAPE Key Event

Consider a scenario where a dialog is launched from a panel which itself was launched by another panel. It’s very tedious to get the dialog disposed when the ESCAPE key

DevX - Software Development Resource

Am I a Mad Scientist?

o you want to save keystrokes? Do you want to ease maintenance? Do you want inline information about the code structures that you’re working with? How about statement completion? Are

DevX - Software Development Resource

Five Great Patterns for Dealing with References

n a UML class model, classes are described by having attributes, operations, and relationships with other classes. When such a model is converted into code, both the public attributes and

DevX - Software Development Resource

Dynamically Remove HREF from the Anchor Tag

Sometimes you need to remove a link from an anchor tag dynamically. You can do this with JavaScript.Take a look at this example: Devx To remove the link (i.e, the

DevX - Software Development Resource

Read the Entire Text Element

SAXParser’s DefaultHandler provides a callback for public void characters(public char[] ch, int start, int length, etc.) and throws a SAXException for reading element text contents. You can read the char

DevX - Software Development Resource

Testing with an Application Verifier

Application Verifier is a tool for testing user-mode applications for compatibility with MS Windows XP. It comes in handy when you’re troubleshooting issues like common programming mistakes related to memory

DevX - Software Development Resource

Letting Java in on SQL Server Notifications

tarting with SQL Server 2000, Microsoft added the concept of notification services to their flagship database engine. SQL Server Notification Services lets you generate and send notifications whenever some criterion

DevX - Software Development Resource

Use Callbacks to Isolate Concurrency Bugs

ne of the most common errors Java programmers make when they first learn multi-threaded programming is to misunderstand locks. They believe that locking an object prevents access to its fields

DevX - Software Development Resource

Masked Edit Control

To include characters in your mask that are also part of the set of mask syntax characters, escape them by using the backslash () character in front of the character

DevX - Software Development Resource

Use Reflection to Find Dynamic Class Information

Use this code to find information?such as the method name or the parameters?of a dynamic class: import java.lang.reflect.*;public class DynMethodNames{ public static void main(String a[]) { try{ //passing class name

DevX - Software Development Resource

Using StringBuilder in .NET

StringBuilder has an Append method that returns a reference to itself. This is useful for when you want to append several items in one go. The following code is an

DevX - Software Development Resource

Display Alert Messages on Separate Lines

Everybody knows that the alert() function in JavaScript is used to display messages in a dialog box. For example, the following code: alert(‘Hello Prakash’); will pop up with this message: