'¼g°Ï°ì
Dim w As StreamWriter
Dim kk1 As String
For akk = 1 To 500
aks = "¦¹¼ÆȬ°¡G" & akk
com1.Items.Add(aks)
kk1 = aks
w = File.CreateText("C:\tp\" & aks & ".txt")
w.WriteLine(kk1)
w.Close()
Next
'Ū°Ï°ì
Dim r As StreamReader
For akk = 1 To 500
aks = "¦¹¼ÆȬ°¡G" & akk
kk1 = aks
r = New StreamReader("C:\tp\" & aks & ".txt")
Do While Not r.EndOfStream
lis1.Items.Add(r.ReadToEnd)
Loop
r.Close()
Next
AddHandler lis1.SelectedIndexChanged, AddressOf ListBox1_SelectedIndexChanged
End Sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
'Ū°Ï°ì
Dim kee As String
Dim r As StreamReader
MsgBox(lis1.Text)
Dim FileExists As Boolean
'Dim filePath = "C:\tp\" & "¦¹¼ÆȬ°¡G1" & ".txt"
Dim filePath = "C:\tp\" & lis1.Text & ".txt"