Is there a way to do formatted READ and WRITE to a text file using VB. For example in fotran we have a function like
read(id,'(4i5,f10.0,i5)',err=110,end=110npnt,ntft,ntsv,ntip,damp,n411

The second parameter tells that read four integers of length 5, one float of length 10 with nothing after decimal and then one integer of length 5. At the end there is a variable list in which these values are retrieved,
Similarly for write we have
write(id,'(a80)') titl
This function writes titl to file in a 80 character long field.
How can we achieve similar functionality in VB

regards
ali.