Wednesday, November 15, 2006

The new version of WinZip has been released that include practical image handling through thumbnails and a new internal image viewer, more efficient compression, enhanced data backup functionality, and support for RAR and BZ2 files. For more info, click here.

Wednesday, November 15, 2006 6:45:18 PM (Pacific Standard Time (Mexico), UTC-08:00)  #    Comments [0]  | 
Wednesday, November 08, 2006

Both VB.NET and C# now has the 'Using' statement that will automatically Dispose of objects that implement IDisposible. This makes for much cleaner code. In well written programs, calling Dispose will release resources, close file handles etc. Take for example the DataView object in .NET:

protected override void Dispose(bool disposing)
{
      if (disposing)
      {
            this.Close();
      }
      base.Dispose(disposing);
}

As you can see, calling Dispose will also Close the object. No need for you to worry about closing the DataView. Now, lets talk about Crystal Reports that comes with Visual Studio 2005. Calling Dispose on their ReportClass does not close the report. After 75 report generations it will actually cause an exception! To fix it you have to close your application (not an easy thing to do for an ASP.NET application) and restart. So if you use 'Using' with the ReportClass, you first need to call .Close before the end of the statement. Reason #77 why Crystal Reports sucks!

Wednesday, November 08, 2006 10:09:14 PM (Pacific Standard Time (Mexico), UTC-08:00)  #    Comments [0]  | 

Theme design by Jelle Druyts