By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,461 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

How to display current date in toolbar?

100+
P: 123
Hi,

How to display current date in toolbar of Visual Basic?
Kindly let me know if u know.
Apr 10 '07 #1
Share this Question
Share on Google+
7 Replies


samycbe
P: 83
Are you want the current date and time in statusbar?
Apr 10 '07 #2

100+
P: 123
Are you want the current date and time in statusbar?

Not status bar, I want to display it in toolbar.
Apr 10 '07 #3

P: 47
Hi,

How to display current date in toolbar of Visual Basic?
Kindly let me know if u know.
check it
Expand|Select|Wrap|Line Numbers
  1.  Toolbar1.Buttons(2).Caption = Date ' there r two button index should be 1,2 go on
  2.  
waiting for your responce.
Apr 13 '07 #4

100+
P: 123
check it
Expand|Select|Wrap|Line Numbers
  1.  Toolbar1.Buttons(2).Caption = Date ' there r two button index should be 1,2 go on
  2.  
waiting for your responce.
But i dont want to display in Button. I want to display as label, like:

Today is : Current Date
Apr 24 '07 #5

P: 47
But i dont want to display in Button. I want to display as label, like:

Today is : Current Date
ok,
I think there is no direct option to show any text in tool ber.bcuz there is no
text property in toolber.
U can do it indirectly. place a picture box on the toolber
& place a label in the picture box. now u can U the caption property of the labe l to show the the current date.mind it that u have to put the picture box to hold the caption.OK
Apr 25 '07 #6

100+
P: 123
ok,
I think there is no direct option to show any text in tool ber.bcuz there is no
text property in toolber.
U can do it indirectly. place a picture box on the toolber
& place a label in the picture box. now u can U the caption property of the labe l to show the the current date.mind it that u have to put the picture box to hold the caption.OK

Thanks a lot.
Apr 26 '07 #7

debasisdas
Expert 5K+
P: 8,127
Thanx Sanju for giving a simple piece of solution what seamed so critical to the member.
Hope u keep it up in days to come.
Apr 27 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.