It all depends on what database you're using. For Postgres, for example, you would call:
psql -U user -f /home/me/myfile.sql mydatabase
from the shell. Since this is a VB project, I doubt that you're using postgres, so you would have to look at running command line scripts specific to the database server.
Because of this, consider using a database abstraction layer and calling everything from a php script. This will allow your project to be very portable amongst database systems and not be tied down to using specific command line programs.
HTH
Melody