Minggu, 02 Oktober 2011

membuat hello world

Private Sub Command1_Click()
    MsgBox "Hello, World"
End Sub
A VB.NET example, MsgBox or the MessageBox class can be used:
Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Msgbox("Hello, World")
    End Sub
End Class
Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        MessageBox.Show("Hello, World")
    End Sub
End Class

Tidak ada komentar:

Posting Komentar