
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
The following code shows how to determine whether one string is a number: public static boolean isNumber(String s){ try { new Double(s); return true; } catch(Exception ecc) { return false;
One way to avoid unnecessary object construction is to use a reference instead of an object to store the unnamed temporary object returned by value. This tip references both Scott
n Visual Studio 2008 running on the .NET framework 3.5, developers can not only create DataReaders and DataSets; Microsoft has also added LINQ to SQL, Entity Framework, and ADO.NET Data
bout three years ago, I spent a few hours building an RSS news aggregator for Ruby news. I wrote it in Java because my one leased server at the time
n an ideal world, all software and database systems would have clear documentation that is always up to date. In the real world, however, documentation usually is either non-existent or
n 2004, I worked with a game publishing client that wanted to update their underlying XML-based workflow to allow writers at science fiction and gaming conventions to write reports into
ast articles have discussed how to interface with GPS receivers to obtain the geographical position of a device and then transmit the information over to a server for mapping purposes.
Suppose you simply want to change the border color of a control to something other than black, so you looked for the BorderColor property in the Properties Window…but it’s not
Most application servers/JSP engines can load JSP servlets dynamically. This allows the application server/JSP engine to load the JSP servlets every time you configure them. For example, suppose you configure
Social networking is about to take a new turn in the coming months. Yahoo! is in the process of releasing its Open Strategy with the goal of connecting more people
elegates play a tremendously important role in developing applications for the .NET Framework, especially when using C# or Visual Basic. Events, a special application of delegates, are used all over
“o you have a governance plan?” It’s not a question you want to hear while putting together a world changing Service Oriented Architecture (SOA). Governance is one of those words
ew areas in .NET are seemingly as simple yet deceptively challenging as processing keyboard inputs. This situation is exacerbated because neither the MSDN documentation nor any of the excellent .NET
MS messaging is one of today’s most common forms of communication. People send SMS messages everywhere?on the train, crossing the road, and even driving! While most SMS messages are sent
Disabling the Windows XP splash screen helps your startup go faster. To do this, open boot.ini from the root folder and add ? /noguiboot? right after ?/fastdetect?. That’s it! Note:
The example in this tip uses an ArrayList object to serialize, deserialize, and store itself in an XML file. However, you can also use user-defined objects. First, add items to
The following code demonstrates how to set a logger for FOP. You can send the logger’s messages to the System.out or in a file like this: //to System.outLogger logger=new ConsoleLogger(ConsoleLogger.LEVEL_INFO);fop.setLogger(logger);MessageHandler.setOutputMethod(MessageHandler.SCREEN);MessageHandler.setScreenLogger(logger);
icrosoft’s IronRuby project brings a powerful and fun dynamic language to the Windows platform. The Ruby programming language is a modern, object-oriented scripting language, with a syntax inspired by languages
A big challenge companies face today is that most information, both online and archived, is only available as published text and does not contain any formal structure suitable for synthesizing.
ount yourself lucky if the data you need is always in the database you happen to be using. Most of us must retrieve data from all kinds of sources, and
ubversion is by far the most popular open source version-control system, and for good reason. Its many powerful features, such as atomic commits, fast branching and tagging, efficient treatment of
ushing data to and from a third-party mobile application on demand has always been a tricky proposition. BREW allows, with the blessing of Qualcoom, SMS messages to be directed at
riginally a research language from Microsoft Research, F# has long been a “secret weapon” in the arsenal of .NET programmers for doing statistically and mathematically heavy coding. More recently, however,
he compiler invokes user-defined conversion functions (which are also called conversion operators) implicitly. In most cases, this process is well-behaved and intended. However, there are cases when you certainly don’t
ack in 2006, I coined the term polyglot programming in a blog post. It is not a new concept (being at least as old as Unix and probably much older-I
This tip shows an example of how to use the Iterator API to read from an XML file: import javax.xml.stream.*;import javax.xml.stream.events.*;import java.io.*;public class StAXBasicEventReader{ public StAXBasicEventReader(){} public static void main(String[]
VS 2005, like its predessor, does not allow debugging for classic ASP pages, by default. This forces you to attach the ASP worker process (w3wp.exe). Follow these steps: Enable ASP
enry Ford’s development of assembly lines was of major significance to the manufacturing process. Ford brought all of the raw materials and skilled workers into a single facility and focused
he Microsoft Build Engine (MSBuild) is the new build platform for Microsoft and Visual Studio. MSBuild is completely transparent with regards to how it processes and builds software, enabling developers








