I would like to know the procedure to make dll in vc++ to be used in vb.

An example code could help
Something like a dll that receive a number and return the number plus 5.