Business applications often find it useful to calculate the number of years between two particular dates, such as the date a customer first ordered and the present date, perhaps to see whether they apply for a "loyalty" discount or a free gift.
Latest Visual Basic Articles - Page 91
Lots of hot topics are covered in the Discussion Forums on CodeGuru. If you missed the forums this week, you missed some interesting ways to solve a problem.
Calculating the opening and closing quarter dates for a particular date is a common task for programmers. So, to save you from figuring out how to write that code, here are some ready-to-run functions that do it all for you.
Learn how to use Zip and Unzip compatible methods with VB5 or VB6. All the code is contained in class modules that can either be compiled into an ActiveX or dropped into an existing project. The Zip/Unzip functionality is handled by the FreeWare InfoZip components from (http://www.cdrom.com/pub/infozip ) - these DLL's are included in the download.
Sometimes you don't just want to add a certain number of days to a date; you want to take working days into account.
This tutorial demonstrates how to copy Excel data into a Windows DataGrid Control from the Clipboard.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
With facilities to search, copy, extract segments, and more, the array class can handle pretty much any task you need to perform with ease.
Learn about delegates, a type that represents a reference to physical methods with the same parameter list and return type.
If you have written solid code, you have accomplished one half of the objective. Solid code is the protagonist, or hero, of our story, but testing is the more sedate side kick that often saves the day after the hubris of the hero has almost certainly lead to calamity.