Mohon maaf server download kami mengalami masalah

cara menyimpan data dari listbox ke file txt di vb6

Anda bisa coba script berikut ini ...

'script by ajang
Private Sub Command1_Click()
    Dim I As Integer
    Open "C:\Windows\Desktop\IsiList.txt" For Output As #1
        For I = 0 To List1.ListCount - 1
            Print #1, List1.List(I)
        Next I
    Close #1
    MsgBox "OK"
End Sub

jika ada pertanyaan silahkan hub 089 682 503 753
Previous
Next Post »
Thanks for your comment