Sorry, didn't understand what this does..
I have ToolStripMenuItem1 renamed TSGW and others renamed other suff, should this still work?
I get an error in this:
Error:
Unable to cast object of type 'System.Windows.Forms.ToolStrip' to type 'System.Windows.Forms.ToolStripMenuItem'.
Do you know how to solve it?
Ps:I did rename the ToolStripMenuItem1 in the "enable1DisableRest(ToolStripMenuItem1)" to TSGW so it's not it..
I have ToolStripMenuItem1 renamed TSGW and others renamed other suff, should this still work?
I get an error in this:
Code:
For Each n As ToolStripMenuItem In Me.Controls
Unable to cast object of type 'System.Windows.Forms.ToolStrip' to type 'System.Windows.Forms.ToolStripMenuItem'.
Do you know how to solve it?
Ps:I did rename the ToolStripMenuItem1 in the "enable1DisableRest(ToolStripMenuItem1)" to TSGW so it's not it..
