[CODE=vbnet]Dim arr(1) As String
arr(0) = "Paulson1"
For Each ctrl As ToolStripMenuIt em In MenuStrip.Items
For Each ctrl1 As ToolStripMenuIt em In ctrl.DropDownIt ems
If arr(0) = ctrl1.Text Then
ctrl1.Visible = False
End If
Next
Next[/CODE]
Is this possible?
arr(0) = "Paulson1"
For Each ctrl As ToolStripMenuIt em In MenuStrip.Items
For Each ctrl1 As ToolStripMenuIt em In ctrl.DropDownIt ems
If arr(0) = ctrl1.Text Then
ctrl1.Visible = False
End If
Next
Next[/CODE]
Is this possible?
Comment