June 17, 2009

Agile and UCD: Building the Right Thing, the Right Way

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 these lightweight processes to get their software built. Many of the Agile methodologies recognize and value the input of users

How to Store Oracle 10g Log Files in XML

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 format that you can work with. Oracle 10g gives you the capability to store logs in three ways: Store operational

How to Detect JFrame Resizing

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 as well use a timer class. Put this method inside your class that extends JFrame and call it: public void

Create and Save Thumbnails of Web Pages

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 generate a thumbnail, use: public Bitmap GenerateThumbnail(string url){ //rendered at full size return GenerateScreenshot(url, -1, -1);}public Bitmap GenerateThumbnail(string url, int

Get the Last Filled Row or Column in Any Excel Spreadsheet

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 filled column in Excel sheeti_col = XL_PlyWorksheet.cells(1, “A”).End(xlToRight).Column’ Find last filled row in Excel sheeti_row = XL_PlyWorksheet.Range(“A65536”).End(xlUp).Row Don’t forget to