private withevents myButton  as CommandButtonset myButton=me.controls.add("VB.CommandButton","myButton")
mybutton.visible=true