Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Hello World - VB 2010
Author:
Dr. Zia-al-Hassan
E-mail:
Click to e-mail author
Website:
http://www.pakeagle.com
Submitted:
7/17/2011
Version:
VB 2010
Compatibility:
VB 2010
Category:
Forms
Downloads:
2629
Programming Tutorial By Dr. Zia-al-Hassan ' Services By PakEagle.Com , And PakistanSoftwareHouse.Co.Cc ' Contact Us By Email support@pakeagle.com, ziaalhassan@yahoo.com ' Contact Us On Phone +92-300-6561240 ' --------------------------------------------------------------- ' Create a New Project ' Rename The From In Solution Explorer As HelloWorld ' Change The Caption Of The Form To Hello World ' Place One Text box and Two Buttons On This Form ' Name Tect Box txtName ' Name first Button btnOk and It Text &Ok (&= For UnderLine On The button For Making It Clickable From Keyboard ' Name The Second Text Box As btnExit and Change its Text To E&xit ' Place a Label On Top Of Text box and Change Its Name To LblLabel and its Text To Enter Your Name Here ' Double Click on Ok Button and Write This Code ' MessageBox.Show("Hello " & txtName.Text & vbCrLf & "WelCome To Vb.Net 2010", "Hello World") ' Here MessageBox Is a Reserved keyword of VB ' .Show Is a method Which Will Show The Message Box ' This Message Box Will Display Hello ' Then It Will Get Your Name From The Text box Via txtName.Text property ' vbCrlf is For Going To Next line ' Then In Next Line It Will Print Welcome To Vb.Net 2010 ' then The Last Hello Woorld Will Be Displayed In the Title of Your Program ' Now Double Click On Exit Button and type Me.Close Which Will Close This Program When We Will Click On This Button
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement