i used to create sub procedures in vb6 under tools/ add procedure. Same is not available in vb2008. how can i create sub procedure in form.
for eg.
Private Sub CmdDisabl()
Cmd_New.Enabled = False
Cmd_Amend.Enabled = False
End sub
if i type above code in form i get error
statement is not valid in namespace
if i create module and put above code in it , gives erroe
Cmd_New is not declared
how to create procedure at form level in vb2008
thanks