Visual Basic 2010
Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Pages
(Move to ...)
Home
About
▼
Monday, June 6, 2011
Get Weekday name
To get the WeekDay name you have to create a button like on the picture bellow:
After, write the code:
Dim getdate As Date
getdate = Now
MessageBox.Show("Weekday name: " & getdate.ToString("dddd"), _
"Date exercise")
The resul is as on the picture bellow:
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment