General discussion

Locked

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.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

well..

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:

myLogInResult

(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
then
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.

Back to Windows Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums