Info at bottom of mdiform.

Hi,

I have a mdiform and I need to show info at the bottom of the mdiform such as user login, current date and time.

What control should I use, and how to do it?

Thank you.
LVL 1
emi_sastraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vb_jonasCommented:
Preferrably a statusstrip, set dock = bottom. Add a toolstripstatuslabel, and set it's text:

ToolStripStatusLabel1.Text="my user"
0
emi_sastraAuthor Commented:
Hi Jonas,

I need to show like in a frame:

Login User : Emi    Login Time : 15:10:12 and etc.

Could I do it using your suggestions?

Thank you.
0
vb_jonasCommented:
Here is more detailed info about the StatusStrip:

http://www.dotnetheaven.com/UploadFile/mahesh/StatusStrip05072005055503AM/StatusStrip.aspx

If you want to show time, you will also need a timer control to update the time. Add the timer, and set interval = 1000 (1 second) and enabled = true. Then add this to the timer.tick event handler:

Add another toolstripstatuslabel.

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        ToolStripStatusLabel2.Text = Now
    End Sub

For the login name you could use
 My.User.Name
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
emi_sastraAuthor Commented:
Hi Jonas,

I think it is what I am looking for.

Thank you very much for your help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.