Cutoff date in Visual Basic
Posted on 2009-12-21
I have a form in VB6. I have a dropdown box that lists all the months. However, I want a user to be able to ONLY select the current month based on what month it is. It has be on the 8th of the current month to the 8th of the next month.
So, for example, if they choose the dropdown today they should only be able to select December. They can select December all the way up until January 8th. After that day, they can only select January.
Is there a way to do this in VB6?