You can create a new library project to and attach the .vb file to that
project. Then it can be compiled into a dll easily. You can also do this
through the command line I believe, though typically I don't use the
command-line compilers (too much hastle and I'm lazy).