Tuesday, 7 August 2012

my first application in vb.net

This tutorial will help you create your first application using Visual Basic .NET. In this tutorial, we write our first piece of code by telling the application to show a message box displaying the text “Hello World”.” Hello world” Is all common application in beginning of coding and its simple show message box in vb.net application just one line to show message box
Syntax: messagebox.show{“show what message ”}

Copy and paste below Code:

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        MessageBox.Show("Hello World", "Message Box Title")
    End Sub

End Class