วันพฤหัสบดีที่ 17 มิถุนายน พ.ศ. 2553

MsgBox : แสดงข้อความต้อบรับ


1. พิมพ์ code ทีj Event load


Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load


Dim str As String

str = "Hello World : " & vbNewLine
str &= "My Name Is 9aood" & vbNewLine
str &= "***************" & vbNewLine
str &= "i like VB 2010"
MsgBox(str, MsgBoxStyle.Information, "ทดสอบ MsgBox")



End Sub

2 ความคิดเห็น: