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

How can I get the Menuitem 's name ??

P: n/a
I know how to get the Menuitem's TEXT . BUT I need to get the names , Does
anyone know how to do ??
Thanks

I try That " For Each FileMenuItem As MenuItem In Me.Menu.menuitem" before
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Agnes" <ag***@dynamictech.com.hk> schrieb:
I know how to get the Menuitem's TEXT . BUT I need to get the names , Does
anyone know how to do ??
Thanks

I try That " For Each FileMenuItem As MenuItem In Me.Menu.menuitem"
before


'MenuItem' doesn't have a 'Name' property. You may want to use an extender
component which provides the 'Name' property:

MenuItem Extender - add images and font support to your menu
<URL:http://www.codeproject.com/cs/menu/MenuExtender.asp>

If you want to lookup menu items, you can store (key, 'MenuItem') pairs in a
hash table ('Hashtable').

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

Nov 21 '05 #2

P: n/a
There is a programme called reflector. which can convert any DLL to either C# or VB

Now you can view the methods with different languages ^_^

http://www.aisto.com/roeder/dotnet/

From http://www.developmentnow.com/g/38_2...em-s-name-.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.