Hi, I need to have a status bar at the bottom of the screen which will show the login name and project after I login. I have no idea how to start in VB6, could you help?

I have attached a sample. Please help!


Select components, then Microsoft Common Controls 6.0. This will add the status bar amongst other controls to your tools list.

In code the following -

StatusBar1.Panels(1).Text = txtMyUsername.Text
StatusBar1.Panels(2).Text = txtMyPassword.Text

To add more panels to the status bar, right click on it and select properties.

Thanks Abu and AndreRet! Is work perferlly.