
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.
An easy way to create and send email in VB (or any other language) is to use the “mailto:” protocol that already works on client computers. The technique makes a
A quick way to view detailed information about a just-thrown exception is to open the Watch window, and type $exception in the watch window.
You can use the code in this tip to make web requests to a remote HTTP server and read the response: try{ // The URL http://www.microsoft.com/en/us/default.aspx // is used here
ending email from SQL Server can be a useful way to keep yourself or the system’s administrator informed of any errors and alerts, but depending on your version of SQL
ou may have come across the need to read textual input into a structured representation before. Consider interpreting your own domain-specific language (DSL), reading back marshaled data from the disk,
hile watching application development practices evolve over the years, I have noticed a monumental shift in the way companies approach cost reductions throughout the application lifecycle. The bottom line is,
gile software development has hit the mainstream! Since the Agile Manifesto was published, various software development methodologies that follow the manifesto’s values have steadily gained popularity. Many organizations are adopting
Logging is a top priority for any project. Current versions of most popular databases have excellent logging capabilities, but it’s not always easy to get the logged data in a
Simply add these two lines of code to the Form’s Load event: this.Location = Screen.PrimaryScreen.WorkingArea.Location;this.Size = Screen.PrimaryScreen.WorkingArea.Size;
There are a couple of ways to track JFrame resizing. This method uses a while(true) loop, setting Thread.sleep to wait for some specified period of time. However, you could just
You can use the .NET WebBrowser control to take thumbnails or full-size screenshots of loaded web pages, and then use the Bitmap class to save them locally. For example, to
Sometimes you need to know which is the last row or column in an Excel sheet that contains actual data. To do that, use the following code: ‘ Find last
Recently, I learned a valuable lesson in modern programming efficiency: Problem-solving abilities often take a backseat to information retrieval and analysis. I was working on an application that saved images
o test a class, a developer must make sure that the class’s dependencies won’t interfere with its unit tests. Enter mocks and stubs. Unit tests check on the behavior of
ny discussion of “best practices” must first define the term. A best practice is: Something that works. Something that works well. Something that works well on a repetitive basis. Something
hen implementing a sequence of elements that needs to grow and shrink dynamically, std::vector is a fine choice. It provides the convenience of a standard container class, including automatic memory
erl is a script programming language that has a syntax similar to C. It includes a number of popular Unix facilities such as SED, awk, and tr. Perl comes pre-installed
One of the categories in the 2008 contest was the “Technology Showcase”. Developers were invited to submit applications using Flash Lite, Java, Python, open source or other technologies supported by
uppose you have a constantly growing database that currently contains 75 tables. Like any other database, a significant percentage of the tables carry metadata (i.e., the kind of data that
ohsuke Kawaguchi, a staff engineer at Sun Microsystems, released Hudson in February of 2005. Since that time, Java developers have adopted Hudson as their continuous integration server in greater and
This code snippet creates a Validator that you can use to validate an XML document represented as a DOMSource. //create a DocumentBuilderFactory objectDBF=DocumentBuilderFactory.newInstance(); //activating namespaces supportDBF.setNamespaceAware(true); //create a DocumentBuilder objectDB=DBF.newDocumentBuilder();
When a WPF control gains the focus, it displays a dashed box around itself to indicate that it has the focus. In some cases, the focus rectangle can detract from
This example assumes the main page from which users will pop up the calendar is named Calender.aspx. The following procedure shows how to create the popup calendar: In Calendar.aspx, add
The .NET Framework includes a SoundPlayer class (in System.Media) that can play sound files. However, this class suffers from two crippling limitations: it can play only PCM-encoded WAV files, and
Even though this is a reserved word in JavaScript, the following code fails… with(parent){…this.window.event…} …because it can’t back out of parent. The workaround is to assign the window object to
hange is the one constant you can depend on: Requirements change, environments change, and processes change. Together, these factors ensure that your WCF services will change as well. Fortunately, you
hen creating a connection to foreign data, the .NET configuration wizard is a great place to start. Not only will it create a point-and-click connection for you, but it also
he Document Object Model (DOM) is a W3C standard based on a set of interfaces that can be used to represent an XML (or HTML) document as a tree of
The new Sun boss put the OpenOffice and JavaFX groups on notice during the JavaOne opening keynote today: Produce some JavaFX libraries for the OpenOffice suite and do it quickly.









