Never used pipes before, but maybe this will help:

http://www.planetsourcecode.com/vb/s...40065&lngWId=1