I have a problem, I don't know how to put a vb code in a button event of a form. Could you help me on this?