Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    [VB8] Clock [How To]


    KuscheltierDompteur
     Share

    Recommended Posts

    You need a label and a timer

     

    Name the label: Time, o´clock, ...

     

    mjl6lfc4.jpg

     

    Doubleklick on Timer1

     

    Typ in:

     

    Dim h As String = My.Computer.Clock.LocalTime.Hour

    Dim m As String = My.Computer.Clock.LocalTime.Minute

    Dim s As String = My.Computer.Clock.LocalTime.Second

    If m < 10 Then m = "0" + m

    If h < 10 Then h = "0" + h

    If s < 10 Then s = "0" + s

    Label1.Text = h & ":" & m & ":" & s

     

    It have to look like this:

     

    5plurv9l.jpg

     

    Doubleklick on Form:

     

    Timer1.Start

     

    Debbuggen--> finished

     

    lnbq4xob.jpg

     

    Credits ~me alias .:ViRuZ:.~

     

    You can leech this Tutorial.

    Edited by {¯´'·.¸!gRoUnDzErO!¸.·'´¯}
    Link to comment
    Share on other sites

    • 2 months later...

    Warum so umständlich ?

     

    Timer1 auf enabled = true stellen

     

    label machen

     

    und dann in den timer :

     

    Label1.Text = TimeOfDay

     

     

    fertig ?

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...