Find here articles concerning functions in Visual basic, like Client Callback, or calling a function by variables.