I have a question,

Suppose I have a type:

VB Code:
  1. private type tpPerson
  2.     sdFirstName as string * 25
  3.     sdLastName as string * 25
  4. end type

And I have a file with many records:
Bill Gates
vrgrwe breipgre
Is there a simple way to load each record into the type. I know I can do :
VB Code:
  1. dim Person as tpPerson
  2. dim MyString as string
  3.  
  4. while not eof(1)
  5.     readline #1,MyString
  6.     Person.FirstName = left(Mysting,25)
  7.     Person.LastName = left(Mysting,25)
  8. wend

But the type is more complex. In C this can be done with pointers, but in VB. Any idea