hi, i wanna load text from file to multiple txt box eg...
name
age
gender
i got this code + the file can be: chris.txt, john.txt basically can be anything wit ".txt" but the filename is in the treeview, but there is multiple nodes.?
anyways:
then something like, cnt remember as i deleted it, but:
this dnt work at least i get no errors.
its vb.net 2010
any help?
name
age
gender
i got this code + the file can be: chris.txt, john.txt basically can be anything wit ".txt" but the filename is in the treeview, but there is multiple nodes.?
anyways:
Code:
Dim myDir As IO.StreamReader( i dunno the path, tried app.startuppath )
Dim txt As String
For each file in IO.StreamReader("*.txt")
Next
then something like, cnt remember as i deleted it, but:
Code:
txt.Stream.ReadLine.Contains("name=")
txtbox.text = txt
this dnt work at least i get no errors.
its vb.net 2010
any help?