Question

VISUAL BASIC (VISUAL STUDIO 2010) - PLEASE INCLUDE PICTURES OF OUTPUT AND CODE AND TEXTBOX pictures...

VISUAL BASIC (VISUAL STUDIO 2010) - PLEASE INCLUDE PICTURES OF OUTPUT AND CODE AND TEXTBOX pictures of everything or thumbs downnnnnnn... Your question has been answered Let us know if you got a helpful answer. Rate this answer Question: VISUAL BASIC (VISUAL STUDIO 2010) - PLEASE INCLUDE PICTURES OF OUTPUT AND CODE AND TEXTBOX Be sur... VISUAL BASIC (VISUAL STUDIO 2010) - PLEASE INCLUDE PICTURES OF OUTPUT AND CODE AND TEXTBOX Be sure to include comments at the top of each procedure and at the top of the file. Be sure to use meaningful names for all buttons and labels. In this project we will accept the status of 10 results from an exam. The value should be a P or a F to indicate Pass or Fail. When 10 results have been entered, the input box will be disable and the Analyze button will be enabled. The Analyze button will loop through the items and present a list of how many passed and failed the exam.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Design

Coding:

'Program For Input analyze student records
Public Class Form1
    Dim count As Integer = 0 'variable for count student
    Dim status As String ''variable for status store

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        lstanayalize.Visible = False ''visible off of listbox
        btnanalyze.Enabled = False ''disable analyze button
        lstanayalize.Items.Add("Student Name" + "," + "Status") ''column add in list bo
    End Sub

    Private Sub btnadd_Click(sender As Object, e As EventArgs) Handles btnadd.Click
        If IsNumeric(txtmathamatics.Text) And IsNumeric(txtchemestry.Text) And IsNumeric(txtphysics.Text) Then ''check for input corrected
            If Val(txtphysics.Text < 35 Or txtchemestry.Text < 35 Or txtmathamatics.Text < 35) Then 'check wheather pass or fail
                status = "Fail" 'status store
            Else
                status = "Pass" ''status store
            End If
            lstanayalize.Items.Add(txtname.Text + "," + status) ''add it in listbox
            txtchemestry.Text = "" ''after add clear textbox
            txtmathamatics.Text = "" 'after add clear textbox
            txtphysics.Text = "" 'after add clear textbox
            txtname.Text = "" 'after add clear textbox
            count = count + 1 'increment count
            If count = 10 Then ''if count is 10 then
                btnadd.Enabled = False ''disable add button
                btnanalyze.Enabled = True ''enable analyze button
            End If

        Else
            MessageBox.Show("Please Enter Valid Marks") ''output message if not valid
            If (Not IsNumeric(txtchemestry.Text)) Then
                txtchemestry.Focus() ''focused on that
            ElseIf (Not IsNumeric(txtmathamatics.Text)) Then
                txtmathamatics.Focus() 'focused on that
            ElseIf (Not IsNumeric(txtphysics.Text)) Then
                txtphysics.Focus() 'focused on that
            End If
        End If
    End Sub

    Private Sub btnanalyze_Click(sender As Object, e As EventArgs) Handles btnanalyze.Click
        lstanayalize.Visible = True 'visiable in listbox here
    End Sub
End Class

output:

if you still have any Problem regarding this question please comment and if you like my code please appreciate me by thumbs up thank you.........

Add a comment
Know the answer?
Add Answer to:
VISUAL BASIC (VISUAL STUDIO 2010) - PLEASE INCLUDE PICTURES OF OUTPUT AND CODE AND TEXTBOX pictures...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please help me finish this, it is for Visual Basic . net in Visual studio 2010...

    please help me finish this, it is for Visual Basic . net in Visual studio 2010 (show pictures of code and of the form please) Lab #5 - Banking Account with Methods Submit Assignment Download Work file Download Runtime Be sure to include comments at the top of each procedure and at the top of the file. Be sure to use meaningful names for all buttons and labels. In this lab you will create a simple banking application that will...

  • PLEASE USE VISUAL BASIC* BY VISUAL STUDIO. Visual Basic INTERMEDIATE Create a Windows Forms application. Use...

    PLEASE USE VISUAL BASIC* BY VISUAL STUDIO. Visual Basic INTERMEDIATE Create a Windows Forms application. Use the following names for the project and solution, respectively: Chopkins Project and Chopkins Solution. Save the application in the VB2017\Chap03 folder. Change the form file's name to Main Form.vb. Change the form's name to frmMain. Create the interface shown in Figure 3-37. The interface contains six labels, three text boxes, and two buttons. The application calculates and displays the total number of packs ordered...

  • Visual Studio Code C# Well Document everyline saying what the code does. Include designer code and...

    Visual Studio Code C# Well Document everyline saying what the code does. Include designer code and .cscode Extra 6-1 Create a simple calculator In this exercise, you'l1 create a form that accepts two operands and an operator from the user and then performs the requested operation. Simple Calculator Operand 1: 86 Operator Operand 2 11.11 Resut 7.7408 1. Start a new project named SimpleCalculator in the Extra Exercises Chapter 06SimpleCalculator directory 2. Add labels, text boxes, and buttons to the...

  • Visual Basic Programming Step 1-2 not important, it's just file naming.

    Visual Basic Programming Step 1-2 not important, it's just file naming. 3. Form contains nine Labels, one TextBox, and three Button controls. You use labels to let user know what to enter and what will be displayed; TextBoxes to input a number between 1 and 99. Buttons to Calculate change. Clear Input and Exit program. See below Form Layout with Controls for more details 4. Declare variables to store the entered value in TextBox, and what will be displayed in...

  • Visual Basic Programming Step 1-2 not important, it's just file naming. 3. Form contains nine Labels,...

    Visual Basic Programming Step 1-2 not important, it's just file naming. 3. Form contains nine Labels, one TextBox, and three Button controls. You use labels to let user know what to enter and what will be displayed; TextBoxes to input a number between 1 and 99. Buttons to Calculate change. Clear Input and Exit program. See below Form Layout with Controls for more details 4. Declare variables to store the entered value in TextBox, and what will be displayed in...

  • please do for C# in visual studio. For this exercise you are asked to write a...

    please do for C# in visual studio. For this exercise you are asked to write a Windows Forms application meeting the following specification. You may follow the worksheet for Practical 9 for step-by-step instructions on how to complete it The Form class must be named Form1. This is the default when creating a new Windows Forms app, but make sure that it doesn't change The form must be captioned Click Counter The form must contain a button with the text...

  • USING VISUAL BASIC STUDIO PLEASE PROVIDE THE CODE IN C# LANGUAGE SELECT CONSOLE APPLICATION You are...

    USING VISUAL BASIC STUDIO PLEASE PROVIDE THE CODE IN C# LANGUAGE SELECT CONSOLE APPLICATION You are to create a House with 2 rooms in the house. The following is an example of C++ code for the basic classes: **in C#, it may be written differently** class Room { private: double L; double W; public: //functions go here. } class House { private: Room room1; Room room2; public: //functions go here } The code above is C++ version. In C#, you...

  • visual studio please all the infirmation is in 3 pictures that ive already submited Programming Challenges...

    visual studio please all the infirmation is in 3 pictures that ive already submited Programming Challenges 1. Conference Registration System Create an application that calculates the registration fees for a conference. The gen- eral conference registration fee is $895 per person. There is also an optional opening! night dinner with a keynote address for $30 per person. Additionally, the optional preconference workshops listed in Table 7-3 are available. Table 7-3 Optional preconference workshops Workshop Free Introduction to E-commerce $295 The...

  • Programming question. Using Visual Studio 2019 C# Windows Form Application (.NET Framework) Please include code for...

    Programming question. Using Visual Studio 2019 C# Windows Form Application (.NET Framework) Please include code for program with ALL conditions met. Conditions to be met: Word Problem A person inherits a large amount of money. The person wants to invest it. He also has to withdraw it annually. How many years will it take him/her to spend all of the investment that earns at a 7% annual interest rate? Note that he/she needs to withdraw $40,000.00 a year. Also there...

  • must be visual basic code please include any properties that have to be changed. rcises-3.pdf -...

    must be visual basic code please include any properties that have to be changed. rcises-3.pdf - Adobe Acrobat Reader DC View Window Help Tools Extra exerases-3.pdf X 14 Extra exercises tor Murach's Visual Basie 2015 Extra 8-1 Display a test scores array In this exercise, you'll enhance the Score Caleulator form of extra exercise 4-2 so it saves the scores the user enters in an array and then lets the user display the sorted scores in a dialog box. Elle-a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT