Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
ComboBox1.Items.Clear()
MsgBox("지웠냐?" + ComboBox1.Text)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ComboBox1.Items.Add(TextBox1.Text)
TextBox1.Text = ""
MsgBox("추가" + ComboBox1.Text)
End Sub
Private Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click
MsgBox("클릭했냐?" + ComboBox1.Text)
End Sub
End Class
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Process.Start("notepad", "c:\test.txt") End Sub
<iframe width="640" height="360" src="/files/attach/outimage/youtube.com/embed/fk2moxggxbe.gif" frameborder="0" allowfullscreen></iframe>
이 댓글을
이 댓글을
Dim f As New System.IO.StreamWriter("c:\test.txt", True)
f.WriteLine(TextBox1.Text)
f.Close()
f.Dispose()
버튼1에 위내용 추가하여 c:\test.txt에 TextBox입력내용 저장
--------------------------------------------------------------
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Process.Start("notepad", "c:\test.txt")
End Sub
버튼4 만들어서 Test.txt파일 불러오기
이 댓글을