By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,890 Members | 1,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,890 IT Pros & Developers. It's quick & easy.

Converting Strings into Manus

P: n/a
ABB
I have all menu names defined in our win apps stored as strings in database.

I would like to know how can I convert these menu names into MENU when
application loads after llogin and enable/disable these menu based on user's
access rights which are also stored along with menu names in database.?

Table AccessRights

User ID MenuName Enable
----------------------------------
1
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"ABB" <AB*@discussions.microsoft.com> schrieb:
I have all menu names defined in our win apps stored as strings in
database.

I would like to know how can I convert these menu names into MENU when
application loads after llogin and enable/disable these menu based on
user's
access rights which are also stored along with menu names in database.?


Set up a hasthable that contains (key, 'MenuItem') pairs. Then you can
easily lookup an item by its name.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.