0

Hello People ,
I am creating a project in VB.net . now the problem is there are several forms and i start with the login form my login consist of three major fields username , password , type now the type here is the type of user accessing the application types can be a manager or a data entry operator now the thing is that i can open the my MDI form through the login form and it has several menu items.
Now when i click OK on the login form i need only certain menu items to be enabled as in if the user type is data entry operator then the Menu Item transaction or the reports should not be enabled as he can not use them. So plz help me with a necessary code to perform it..
thankx

3
Contributors
4
Replies
7
Views
9 Years
Discussion Span
Last Post by kinyuadave
0

did you try

menuitem.enabled = false

in place of the menuitem you write the name of the menu item in your program.

0

I would like to tell u that i tried this also i wantto tell u that this action of enabling or disabling of menu is to be done once i click ok on the login form well the menu which are to be disabled or enabled are on other form and not on the same form so plz help me to solve this error by keeping this in mind .... thank U

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.