VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Y2K Test for VB5 and 6

Preston Smith  (1 Submission)   Math/Dates   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This program test the Visual Basic program you are currently running. As you will see.

Assumes
You can adjust the dates for Jan 1st 1930, Jan 1st 2029, Jan 1st 00 and Feb 29 or 30 2000. To see if your version is compliant then you should use 1/1/00 for the year 2000, and 2/29/00 for the Leap Year date (this will cause a run-time error, if NOT compliant). I made a big mistake before, the date regarding the leap year, should not cause a run time error if it is compliant.

Side Effects
If you set up the code to check for the leap year date you should have a run-time error. If you do NOT have an error that is good. If you actually see a date then your version of VB is not compliant with Y2K. The updates and patches may be available at microsoft's MSDN websight. Problems? Get the SP3 updates, Go here (VB6): http://msdn.microsoft.com/vstudio/sp/default.asp Go here (VB5): http://msdn.microsoft.com/vstudio/sp/vs97/default.asp

Rate Y2K Test for VB5 and 6 (103(103 Vote))
Y2K Test for VB5 and 6.bas

Y2K Test for VB5 and 6 Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters