I have a question,
Suppose I have a type:
VB Code:
private type tpPerson sdFirstName as string * 25 sdLastName as string * 25 end type
And I have a file with many records:
Is there a simple way to load each record into the type. I know I can do :Quote:
Bill Gates
vrgrwe breipgre
VB Code:
dim Person as tpPerson dim MyString as string while not eof(1) readline #1,MyString Person.FirstName = left(Mysting,25) Person.LastName = left(Mysting,25) wend
But the type is more complex. In C this can be done with pointers, but in VB. Any idea
