Results 1 to 4 of 4

Thread: ToolStripStatus Bar

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Location
    New South Wales, Australia
    Posts
    55

    Red face ToolStripStatus Bar

    Ok, so ive recently received a copy of Express 2005 in an attempt to complete some projects:

    An ADSL Setup CD
    Screensaver (which ive decided to develop in C++)
    And as an extra for them im developing a simple web browser

    So here is my question to you, ive placed a status bar and "info" bar down the bottom and i can not get them to work correctly, what is the correct syntax for this, you can assume im using the default names.

    Also while im here i have a thread in "Network Programming" about setting up the ADSL setup cd, if you have a minute can u please take a look and let me know what you think, in a nutshell i just need to know where to start because network programming isnt usually my field of work, however ive accepted the task as im always up for a challenge.

    Thanx in advanced Darcey

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: ToolStripStatus Bar

    This is VB6 and prior forum so you may want to switch to .Net.

    Anyway, try the following:
    VB Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.     StatusStrip1.Items(0).Text = "Hi"
    3.  
    4.     'OR
    5.  
    6.     StatusStrip1.Items("ToolStripStatusLabel1").Text = "Hi"
    7. End Sub

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2005
    Location
    New South Wales, Australia
    Posts
    55

    Re: ToolStripStatus Bar

    Hey

    thanks for your reply i havent tried it yet but thought id just let you know i wasnt sure where express 2005 fell in the scheme of things here so thats why i published it in this part of the fourm, but ill start posting in .Net for that version.

    Thanks

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: ToolStripStatus Bar

    Moved
    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

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