There can be two approaches to this question. The first approach is if your vb code is in .exe form. If so you can call this exe simply by using the System Exec function under the communication palette. This function will allow command line commands just like in a command prompt window. You will just pass this information into the function and your exe will start. The second approach is if you vb code is a DLL. If so you can you use the call library function under the advanced palette. This function will allow you to place the function prototype for you DLL and pass parameters in and out of the DLL. See some of the examples that ship with LV. Hope this helps.
BJD1613
Lead Test Tools Development Engineer
Philips Respironics
Certified LV Architect / Instructor