Adapter development and Visual Basic

Does anyone knows if it is possible to create an adapter calling Visual Basic API ?
If it is how should these API be configured so that webMethods is able to call them ?

thanks for your help.