I am new to VB. Work with VB5 Enterprise.
I think this should be simple, but I cannot figure it out:
How do I create a text-box in which the user can write a random date that is not today's date. And still keep the date format?
Example: User inputs 12122009 and I want textbox to change into: 12-12-2009 or 12:12:09 or 12-12-09 or 12:12:2009.
The change should be instant or at the latest at "lost focus".
All the examples I have found work with the current date.
Any ideas?
All the best
Svanholm
I think this should be simple, but I cannot figure it out:
How do I create a text-box in which the user can write a random date that is not today's date. And still keep the date format?
Example: User inputs 12122009 and I want textbox to change into: 12-12-2009 or 12:12:09 or 12-12-09 or 12:12:2009.
The change should be instant or at the latest at "lost focus".
All the examples I have found work with the current date.
Any ideas?
All the best
Svanholm