|
-
Nov 9th, 2006, 09:49 AM
#1
Thread Starter
Member
MenuStrip [This should be easy]
Being stuck in this for 1 day... in VB6, when we cant to invoke an object method, having the name of it in a string, we could do something like:
VB Code:
Dim Description as Sring
Description = "Menu1"
FrmStart(Description).Eabled = False
Now, on Vb.net, we cant simply do the same, as it throws an error, because the menu is inside an other object. But, if i call the Menu1.enabled, on the code, it allows me with no problem. The problem is the "Menu1" is inside a string. I think this must have an easy solution, but i've been strugling all day and no clue
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|