467,151 Members | 909 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,151 developers. It's quick & easy.

leading zero in spinbox?

hello everyone, i am trying to create an activex clock control, which can display the current time or be used to set a time in a control. i am using Visual Basic 2005, with 3 numericupdown (spinboxes) used to display the hour, min and sec. However, i want the min and sec boxes to display a leading zero (ie i want it to show [12]:[04]:[06] pm not [12]:[4]:[6])
can this be done with a spinbox, and if so how?
Nov 7 '06 #1
  • viewed: 1878
Share:
1 Reply
100+
hi

try using
format(minutes,"00")
Nov 7 '06 #2

Post your reply

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

Similar topics

1 post views Thread by Tony Eva | last post: by
reply views Thread by Askari | last post: by
6 posts views Thread by david@scene-double.co.uk | last post: by
7 posts views Thread by david@scene-double.co.uk | last post: by
5 posts views Thread by GarryJones | last post: by
12 posts views Thread by 5N1P3R | last post: by
8 posts views Thread by Andrew Poulos | last post: by
6 posts views Thread by JimmyKoolPantz | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.