Convert Your Data to Decimal/Integer Value
Generally speaking, the data you’re being asked to process most likely has not been input in the format you need. It comes in hexadecimal, octal, or even in binary formats.
Generally speaking, the data you’re being asked to process most likely has not been input in the format you need. It comes in hexadecimal, octal, or even in binary formats.
Ever declared a static variable in the header file at the file scope and had it introduce completely different behavior than you thought it would? This is because when you
Sometimes you need to determine whether a particular key is pressed or not?even though the application is not active. “GetAsyncKeyState” comes to the rescue. This function takes a virtual key
This is a simple method to check for duplicates in an ArrayList: checkDuplicate : Methodpublic static boolean checkDuplicate(ArrayList list) { HashSet set = new HashSet(); for (int i = 0;
he database server is a fixture in almost every business these days. The common commercial databases, such as Oracle, Microsoft’s SQL Server, and IBM’s DB2 server, include many features that
n the movie It’s a Wonderful Life, Clarence the Angel explains how one person’s life affects so many others. In a similar vein, every application in an enterprise touches many
Use this code to explicitly send an exception to the JSP error page from a servlet: public void doPost(HttpServletRequest request, HttpServletResponseresponse) throws ServletException, IOException { … //Create your exception Exception
ecurity can be a complex and often overwhelming issue. To ensure application security, not only must you prevent hackers from entering the system, but you need code in place that
ith MIDP applications streaming into the marketplace, security is becoming more of a concern. What assurance does a user of a MIDP-capable device have that what they download will not
ou always want the software you write to have great performance. The reason isn’t shocking?users look to software to quickly and efficiently handle their workload. Often times, meeting this performance
his article describes some of the advantages that Wiki Web sites provide and how you can use ASP.NET and SQL Server to create your own Wiki. You’ll learn how to
ccording to the Neilson NetRatings of January 2003, Google is rated as the top search engine on the Web with a 29.5% share of the market followed by Yahoo and
ou’re wondering what happened with the bike ride from Los Angeles to San Diego after the PDC, aren’t you? For two months now, you’ve been expecting to see photos of
indows Forms applications often require some sort of asynchronous invocation option. You rarely want to block the user interface while a lengthy operation executes in the background. Windows Forms pose
‘m writing this editorial in early 2004. Yes this is the March/April issue but I see January out my window. Like many people, I made a new resolution for the
his past Christmas, my wife Joy asked me for a Roomba. For those of you who don’t know, Roomba is a miniature robotic vacuum cleaner that looks like a motorized
inding what you need in the Microsoft? Visual Studio? .NET documentation, which has over 45,000 topics, can be a daunting task. The Doc Detective is here to help, utilizing his
reat Windows applications have a consistent user interface. As users learn how to work with one form in the application, they can leverage that knowledge to work with other forms
lose your eyes and imagine a utopian world where client and/or department Web sites are easily deployed and the responsibility for content creation and modification is turned over to the
ave you ever wanted to manage processes in Win32 code? When it comes to this, there’s good and bad news. On the good news side, you can do virtually everything
s we all know, premature optimization is considered evil as it often entails eventually useless design complications and portability compromises. However, this doesn’t mean that healthy programming habits should be
First, bind a data control with the listbox. When you’ve bound a listbox control to a field within a recordset, the control will display the value in the field only
This feature is new in the JDK 1.5 and is intended to reduce the Java app verbosity. Static imports allow you to put into scope a set of methods and
ontent searching has moved into the spotlight over the past decade. A technology that was once the province of academics and researchers has become mainstream business via successes by Alta
‘ve been trying to come up with any reason to criticize the participants in last Friday’s big news that made uncommon bedfellows out of archrivals Microsoft and Sun Microsystems. But
C++ has an alternative for the if condition using the sign “?”. The syntax for this condition is : “condition”?”case true”:”case false”. For example, a function to return the maximum
Save a round trip to the database when a keyed item is selected from any list type. This example uses a combobox, but any type of list control that accomodates
arket trends are a dominant factor in the evolution of IDEs. 15 years ago, syntax highlighting and extensive online help were all the rage; in the late 1990s, it was
ike most DevX readers, anticipating change is an important part of my job. As a software developer and system architect, it is particularly important that I make sure our middle-tier
any view Web services as the backbone to a new generation of cross-platform, cross-language distributed computing applications. In fact, Sun defines Web services as “a well-defined, modular, encapsulated function used