Results 1 to 6 of 6

Thread: System Time Vs Timer help

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2001
    Posts
    41

    System Time Vs Timer help

    Hi

    i'll just started a new program. The program i have need to show the form starting time and update the time in a label in the background while the user uses other function on the program like calculating functions, login / search section etc...

    The program need to record the section time and update it every secound while other function is used by others


    I'm kind of stuck on the idea>.< and stuck on the code

    To keep everything simple I want it just like the Windows date time thing. ^^

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Since you want the Windows data time thing, try using a status
    bar and set one of the panels to "5 - sbrTime" in the Panels tab.
    It will automaticall update the time for you. no hassels other than
    adding the status bar from "Microsoft Windows Common Controls
    6 (SP4)". Thats about as simple as you can get.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2001
    Posts
    41
    ??

    I kind of slow today >.<
    so i added a StatusBar into my form in VB.net then i set the panel like this??

    StatusBar1.Panels(0) = "5 - sbrTime"

    but then i'm getting error >.<

    so when u say 5 - sbr time what that mean??

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Go to the Custom > Property Pages > Panels > Style and click on
    the drop down to select item "5 - sbrTime".
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2001
    Posts
    41
    ar i'm very lost >.<


    is it possible you creat a sample for me so i know what you talking about plz^^


    I've added a status bar into the form.
    then what do i do now ??

    do i create a panel in the code like this
    Dim panel As New StatusBarPanel()

    then where do i find that custom thing in the poperty thing >.<

    i'm kind of new to VS.net

  6. #6

    Thread Starter
    Member
    Join Date
    Jul 2001
    Posts
    41
    ^^
    don't worried about it I finaly got it

    soz about all the fuzz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width