Consider the following screen shot:
I can send the screen shot via e-mail but it is basically 6 text boxes2layers, 3 top, 3 bottom. The top 3 are the start date and the bottom 3 end date (year, month, day)
The screen shot shows the main interface for the program that is to be used in task 2. The program is to allow the user to enter each of the year, month and day for both a start date and an end date into 6 different text boxes. The user can check at any point whether the year, month and date of either, or both the start date and end date (with some minor amount of processing) can in fact be interpreted as a valid date.
This program needs to take into account leap years, and needs data validation to be carried out on it, e.g. the barring of non-date data is to be handled. Also attempts to paste non-valid date data needs to be handled.
**Please use plenty of comments as I have to understand the program
it has to be done in VB6
I can e-mail the original scanned document.
All that you are expected to do within this simple, yet wholly robust framework is to compute the difference in years, days and months between the earlier Start Date and the later End Date. This is supposed to work for any two dates that are valid and each of these can be checked using the visual basic isDate function. It is suggested that one viable approach once it has been checked that the two dates are valid that a second command button is enabled (and disabled while changes are made to either dates) allowing the difference between the dates to be computed.
Windows 98 and 2000
must be done in VB6