I assume you mean Visual Basic 6 and when you want that to run on Solaris you're in trouble. Your best way is, or to rewrite it in Java, or to rewrite it to .NET and hope Mono packages become available for Solaris.
This proberly not what you have hoped for, but you just hit a vendor lock-in that even Microsoft isn't going to help you with. This, as my memory is correct, is Microsoft has left Visual Basic dead in the water, just like Boland let Kylix and Delphi dead in the water and the environments are very tight bound to Windows.