Glowworm27
Programmer
Howdy all,
I have a program that should download a file every thursday at 4:00 pm.
I was trying to convert the string "Thursday" to the DayofWeek Integer value of 6, but I get an invalid cast exception if I do something like this
idayofweek = Ctype("Thursday", DayofWeek)
can someone show me how to convert the String to the dayofweek function ? or something?
thanks
![[cannon] [cannon] [cannon]](/data/assets/smilies/cannon.gif)
George Oakes
Check out this awsome .Net Resource!
I have a program that should download a file every thursday at 4:00 pm.
I was trying to convert the string "Thursday" to the DayofWeek Integer value of 6, but I get an invalid cast exception if I do something like this
idayofweek = Ctype("Thursday", DayofWeek)
can someone show me how to convert the String to the dayofweek function ? or something?
thanks
![[cannon] [cannon] [cannon]](/data/assets/smilies/cannon.gif)
George Oakes
Check out this awsome .Net Resource!