Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

how to manage menus based on Access flags from DB

hi all...
I want to make disable or enable menu items of a program(vb6.0)
based on access flags that I get from DataBase...I mean
for example :

I have a top menu titled "TopMenu1"
the TopMenu1 has 3 sub Menu Items "S1TopMenu1", "S2TopMenu1", "S3TopMenu1"

but I want to make these sub items enabled or disbled based on the access flags ( in Database ) which every group has its specific access flags.

Could you please help me : any simple code ?

Thank you very much
[517 byte] By [Sonia] at [2007-11-11 7:21:52]
# 1 Re: how to manage menus based on Access flags from DB
I assume you know how to read the access flags from the database? To enable or disable a menu item, set its Enabled property to True or False.
Phil Weber at 2007-11-11 17:27:01 >