Regular dll files cannot be created in VB.
But ActiveX dll files can.