ReadFromBlockPipeOut

having trouble getting the ReadFromBlockPipeOut command to write to a text file in visual basic, any help with this would be appreciated.