VB.NET HELLO WORLD CODING
TOOLS NEEDED :
VISUAL STUDIO 2008/2010/2013/2015
.NET FRAMEWORK(INCLUDED ON VISUAL STUDIO IF NOT INSTALL IT SEPERATELY)
STEPS :
1) OPEN VISUAL STUDIO (ANY VERSION)
2) CLICK ON NEW PROJECT
3)SELECT VISUAL BASIC AND SELECT WINDOWS
4) FROM THE RIGHT SIDE CHOOSE ANY VERSION OF .NET FRAMEWORK TO BE USED ON THE FORM
5) SELECT WINDOWS FORMS FROM BELOW IT AND CLICK OK
6) NOW THE FORM WILL BE DISPLAYED
7) CLICK ON THE TOOLBOX FROM THE LEFT SIDE OF THE FORMS
8) DRAG THE BUTTON CONTROL FROM THE TOOLBOX TO THE FORM
9) NOW RIGHT CLICK ON THE BUTTON AND FROM ITS PROPERTIES U CAN CHANGE THE TEXT FROM BUTTON1 TO ANY NAME U LIKE
10) NOW DOUBLE CLICK ON THE BUTTON CONTROL AND WRITE THE CODINGS AS BELOW
11) MSGBOX("HELLO WORLD") OR CHANGE HELLO WORLD TO ANYTHING U LIKE
U CAN ALSO ALSO ADD THIS CODE TO HELLO WORLD LIKE THIS MSGBOX("HELLO WORLD",MSGBOXSTYLE.INFORMATION) SO THAT IT WILL SHOW LIKE INFORMATION IE, AND ICON I WILL BE DISPLAYED IN MSGBOX
12) THATS IT U R DONE PRESS F5 AND RUN THE PROGRAM TO TEST IF ITS WORKING
THAT WILL LOOK LIKE THIS
OK NOW U HAVE LEARNED HOW TO BUILD A HELLO WORLD PROGRAM USING VB.NET
Post a Comment