• Image 1
  • Image 2
  • Image 3
  • Image 4
  • Image 5
  • Image 6
  • Image 7




Tuesday, June 12, 2012

VISUAL BASIC 6 - TUTORIAL FOR NEWBIE (TIME AND DATE)

Hi... Now You at Site WE ARE KNOWLEDGE... You can getting many IT Knowledge in here... from IT knowledge based dekstop programming like as : cobol, pascal, C++, and other program language until based web programming like as : HTML and PHP. And I also provided you general knowledge like receip Indonesian foods

You are will know ?? Let's do Read it...

This time I want giving you tutorial about "program language VB 6"  and discuss using TIME and DATE in VB 6.

Very economical in made this program...
First open VISUAL BASIC 6 program...

And make like this, but if you not like with form, you can shape according to your wishes.
You can use facility "TOOLBOX" on vb 6. toolbox on the left.

previosly you must having this program, that is VB 6. you can searc this program in google or other search engine



You can change name of label1 and label2 in properties "LABEL"... you can change size of text and change type text what do you want.

For the Time you can put in anywhere.. because picture of time not to appear when playing program,,

And if you want to enlarge font... you can using properties and choice font... you can change size, font tipe, and font bold, italic or underline...

If after input this code in program code... you can copy and paste this program...

Private Sub Timer1_timer()
Label1.caption = Time
Label2.caption = format (date, "dd : mmmm : yyyy")
End Sub
And Result









And You must change properties of time... click time and to appear properties..
Like This


Look "INTERVAL" you must change became 1000.. if not,, date and time nothing running..


And if done..
you can execution this program...

Click Knop (button) play or press "F5"


Ok... Done.. your project....
wish my article can help you...

Thanks visitors... Don't forget came back again
see you later friends

No comments:

Post a Comment