Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i need to show welcome in mainform and i need to show time in same place can anybody say how to do ...can i show welcome first and after 10 secs it should show time ...if anybody know please say
Posted

 
Share this answer
 
use timer control

set timing to 10000

make it enable on load
and set text to welcome

in timer set text to time and make it disable if it is running second time.
 
Share this answer
 
You can try like below

C#
label1.text="welcome "+datetime.now;
 
Share this answer
 
Comments
Simon_Whale 30-Jan-12 10:52am    
OP was after the welcome message for the first 10 seconds and then for it too show the date / time
use concatenation



label1.text="welcome  " & Date.Today;</big>
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900