Program to use Button in VB.NET

‘Hello World on Button Click

Public Class programmingfrompros
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
MsgBox(“Hello World !!”)
End Sub
End Class

Advertisements