in my module i have this sub
Public Sub dothis(tb As TextBox)
End Sub
now when i call this in any form using DoThis(aTextBox) it says "type mismatch"
secondly jus lyk there is a Forms collection using which i can iterate thru all open Forms, i want to know is there a collection regarding the Menu Items of an MDI Form. I want to disable them using something lyke this
dim mnu as Menu
For Each mnu in Menus
mnu.Enabled = false
Next
