d:123\a\
e:456\abc\a888\”
不是有效的地址,应该是:
“c:\windows\
d:\123\a\
e:\456\abc\a888\”
这个非常简单,先将文本框设置为数组,然后依次就数据赋值到文本框就可以了。只要一个按钮就可以实现:

Private Sub Command1_Click() Dim DZ As String, XX As Integer: XX = 0 Open App.Path & "\path.ini" For Input As #1 Do While Not EOF(1) Input #1, DZ Text1(XX).Text = DZ XX = XX + 1 Loop Close #1 End Sub