Thanks for the idea - but heres the problem.... Lets say the function OpenTest that your calling, Is as a result of a right click on a listview. From a listview I need to be able to pass a parameter of which Item I want to open. Which is the listview item ID column. The Sender and e values are that of the menuitem1 and not of those of the listview that was right clicked.... So in this case I need the menu that is not generic enough that I can either pass a reference to a listview or have a parameter passed to tell it what item to Open. Simply displaying a messagebox when value is clicked is not enough. So possibly its trying to pass a value into createcontextmenu function and pass this through to the Opentest - but the signature then doesnt match and the line AddHandler menuItem1.Click, AddressOf opentest will not work.