I don't think you can do that except if you make a dll file and than reference it from your VB project.