Theres a much better way to do this. Assuming you have ActiveState Perl installed.. It installs a Perl Scripting thingy, which works similarly to VBscript and JScript etc, you can access this inside VB (or other windows apps), using the Microsoft Scripting Control. Just load the control, set the appropriate Language type ('PerlScript' I think, else look in the AS docs'), and add perl code to it - Nifty!
An article about using the Scripting Control (plus link where you can get the Scripting Control from)
(I knew this was possible, just had to look around some to find out how..)
BTW: theres also PerlCOM, to call perl using COM objects, but thats part of the AS stuff you actually have to pay for :)
C.