How to implement MsgBox in vb.net

Step 1: Create New Project of window Form Application field in Visual Studio.


Step 2: Now Place button in your from.


Step 3: Change Button Name and text property in Property window like Click Me &  btn1 respectively.

Step 4: Double click on button.



Step 5: In Between Event Handler write the Following code

            Msgbox(“Dream Developers”)  
In Round bracket type msg you want to print.


Output:





Post a Comment

0 Comments