Simple_Hello_Program_Report
Simple_Hello_Program_Report
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.