General discussion


Enabling toolbar in a VB.NET program

By m_umoetuk ·
Hi guys,

I am a VB.NET newbie and I am stuck trying to enable a toolbar in my program. I have a toolbar with some buttons on it. I have disabled the toolbar in design but I want to enable it when the user has successfully logon. Can anyone help? sample code will be highly appreciated.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -


by Shellbot In reply to Enabling toolbar in a VB. ...

i've no code samples, and i've no time right now to type any up for you.

How far have you gotten with it?

off the type of my head, psydo-code (won't work in program):

Pass your logged in status to a variable, for example:


(in your log in screen, pass the value to myLogInResult. True if they logged in successfully, False if not)
then check against it..

if myLogInResult=true
myToolBar.enabled = true

Sorry,I know thats pretty basic, but thats all you really have to do..and i've to run and get some work done.

Related Discussions

Related Forums