Help plz

Posts 17 of 7 · Page 1 of 1
Help plz
hello i kinda needed help with Visual basic and some C++ anyone willing to help.

Thank You.
Anyone ?? i need it fast.
Post more project details and maybe someone will help...
Well i wanted a Label "Good Morning!" to appear and Disappear when its like certain time cuz i have a clock in aldready so when its morning i want it to say "Good Morning" and in afternoon "Good Afternoon" and at nigh "Good Night".
Thanks
in vb?

Date.Now.Hour
http://msdn.microsoft.com/en-us/libr...vs.110%29.aspx

Remarks

The value of the Hour property is always expressed using a 24-hour clock.
Code:
Dim _theHour as Integer = Date.Now.Hour

If _theHour < 12 Then
''Before Noon
Else
''After Noon
End If
Could use a Select instead of if/else to get more cases: "morning, afternoon, evening, night, etc" *


"..to appear and Disappear"

you mean fade the Label in and out (using transparency?) ?

You could make a separate form (much like a MessageBox) -- show/move it onto the screen, and then move off it the screen a few seconds later (like skype/msn messenger, when a new contact comes online). ? Or

edit: what about C++?
I mean like say "Good Morning!" when its < 12 PM After 12 its "Good Afternoon". After like 7 PM> Good Night
Chuck norris asking for help? :O

Kidding, unfortunatelly I am unable to help you now, will tune in again in 10-11h and will post here the code that (I hope) it fits your needs.
Posts 17 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?