View Single Post
Old May 11th, 2007, 12:11 AM   #2
physicist
Hobbyist Programmer
 
Join Date: Oct 2006
Posts: 146
Rep Power: 2 physicist is on a distinguished road
set an integer = to each component of the date,
then on Text1_Changed sub procedure
have it so that it takes the val(text1.text) and sets that to another variable, having it take the val of the string entered into the textbox takes only the number part provided they typed like 12 months and not like 12 mon23432ths343242 and then read the string for "month, day, year" store the last part of string (the "month" "day" or "year") to a variable and do a select case
case "month"
store numeric variable (the val(text1.text)) in place of month
and so on....
physicist is offline   Reply With Quote