0% found this document useful (0 votes)
2 views

Simple_Hello_Program_Report

The document outlines the creation of a VB.NET Windows Forms application that greets users with a custom message based on their input. It details the procedure for designing the form with various controls and writing the necessary code to generate and display the greeting. The program successfully utilizes standard controls and provides an interactive user experience.

Uploaded by

kirubaaveena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Simple_Hello_Program_Report

The document outlines the creation of a VB.NET Windows Forms application that greets users with a custom message based on their input. It details the procedure for designing the form with various controls and writing the necessary code to generate and display the greeting. The program successfully utilizes standard controls and provides an interactive user experience.

Uploaded by

kirubaaveena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Simple "Hello" Program - VB.

NET
Aim:
To create a VB.NET Windows Forms application that uses all standard controls to greet the
user with a custom "Hello" message based on their input.

Procedure:
1. Start Visual Studio and create a new Windows Forms App (.NET Framework) project.
2. Design the Form by adding the following controls:
- Label for instructions and output
- TextBox for user name input
- RadioButtons for selecting gender title (Mr./Ms.)
- ComboBox for selecting a greeting word (Hello, Hi, Hey)
- ListBox for selecting a gesture (Smile, Wave, etc.)
- CheckBox for extra options (e.g., "Welcome Back")
- Button to trigger the greeting
- PictureBox to display an image
- ProgressBar to indicate completion
3. Write the Code:
- On form load, populate the ComboBox and ListBox with items.
- On button click, read the user input and selections.
- Build the greeting message and display it in a label.
- Show an image and update the progress bar.
4. Run the application and test by entering a name, selecting options, and clicking the
button to see the custom greeting.

Result:
The program successfully displays a greeting message such as:
"Hi Mr. Alex! Wave Welcome back!"

It uses all the standard VB.NET controls and interacts with the user effectively.

You might also like