Preview

Visual Basic Project

Satisfactory Essays
Open Document
Open Document
661 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Visual Basic Project
Form 1 Source Code:
Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form2.Show()

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close()

End Sub
End Class

Form 2 Source Code:
Public Class Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form3.label2.text = TextBox1.Text Form3.Show()

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close()

End Sub
End Class

Form 3 Source Code:
Public Class Form3

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form4.Label2.Text = Me.TextBox1.Text + "Cheese Burger" + Me.Label7.Text Form4.Label3.Text = Me.TextBox2.Text + "Chicken Fillet" + Me.Label10.Text Form4.Label4.Text = Me.TextBox3.Text + "French Fries" + Me.Label13.Text Form4.Label5.Text = Me.TextBox4.Text + "Coke Float" + Me.Label16.Text Form4.Label6.Text = Me.TextBox5.Text + "Sundae Icecream" + Me.Label21.Text Form4.Label7.Text = Me.TextBox6.Text + "Spaghetti" + Me.Label24.Text Form4.Label8.Text = Me.TextBox7.Text + "Chicken Nuggets" + Me.Label27.Text Form4.Label9.Text = Me.TextBox8.Text + "Chicken Bucket" + Me.Label30.Text Form4.Label10.Text = Me.TextBox9.Text + "Mango Pie" + Me.Label33.Text Form4.Label11.Text = Me.TextBox10.Text + "McSpicy" + Me.Label36.Text Form4.Label12.Text = Val(TextBox1.Text) * 39 & " php" Form4.Label13.Text = Val(TextBox2.Text) * 50 & " php" Form4.Label14.Text = Val(TextBox3.Text) * 58 & " php"

You May Also Find These Documents Helpful

  • Good Essays

    78) The contents of a text box may be cleared in Visual Basic code by ________.…

    • 3668 Words
    • 15 Pages
    Good Essays
  • Good Essays

    Const MSGPWORDFOUND1 As String = "You had a Worksheet " & "Structure or Windows Password set." & DBLSPACE & "The password found was: " & DBLSPACE & "$$" & DBLSPACE & "Note it down for potential future use in other workbooks by " & "the same person who set this password." & DBLSPACE & "Now to check and clear other passwords." & AUTHORS &…

    • 1023 Words
    • 5 Pages
    Good Essays
  • Better Essays

    Management: VBD Report

    • 1285 Words
    • 5 Pages

    The purpose of this report is to discuss and analyse the significant rise in absenteeism at the Manila, Philippines branch. The Manila branch is significant to Moda as it is a major product manufacturer and distributor. The output of the branch is crucial to supplying demand for Moda’s products to the global market and therefore it is imperative that this issue is addressed directly to avoid further complications. Furthermore, it will examine the planning and controlling managerial functions that are currently in place at the Manila branch and provide recommendations in order to effectively address this issue.…

    • 1285 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Case Problem Ms Project

    • 659 Words
    • 3 Pages

    1. Start Project 2010, open the Home-1 file located in the Project1\Case1 folder included with your Data Files, and then save the project file as NewHome-1 in the same folder.…

    • 659 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Microsoft word Project1A

    • 261 Words
    • 2 Pages

    world based on his distinction between the id and the ego in the second section of An Outline…

    • 261 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ms Project Lesson 3

    • 298 Words
    • 2 Pages

    When you do not want the duration of a certain task to change. If you have a four day review for everyone on the project, when you assign more resources to that task, the days decrease, this is when you do not want effort driven scheduling. You want it to stay at 4 days.…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Cs120 Final Project

    • 636 Words
    • 3 Pages

    Computers have become an important part of our life. We use them in our home, workplace, and at schools. Unfortunately almost every computer user encounters some type of problem. It could be the disaster of your hard drive crashing or even a forgotten password. The increased use of computers has created a high demand for computer technicians to provide help to users, day-to-day administration, maintenance, and maintenance of computer systems and networks. This is why I have chosen Computer Information Science as my major.…

    • 636 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    After your company has been approved by your instructor and before you begin the separate parts of the project, you will go through the first step of the critical thinking problem solving process.…

    • 1872 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Project Controls

    • 480 Words
    • 3 Pages

    As we all know, the organization offsite 2-day preparing session task is about prepared to enter the execution stage. All things considered, there are numerous concerns with respect to the historical backdrop of task directing off track and inexorably going over plan, surpassing the normal course of events, under utilizing assets, all subsequent in not meeting general desires. To re-guarantee the effective fulfillment of this venture the administration group is proposing to actualize a few apparatuses and procedures.…

    • 480 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    com 110 class project

    • 5223 Words
    • 21 Pages

    Gone With the Wind, is not only an ultimate favorite among many Americans of the past, present and even to the future generations, but also my favorite movie of all time. Taking place in several places among the South before, during and the ending of the Civil W and shows just a glimpse of life is given and the struggles that were faced at this time; including, but not limited to: love, financial hardships, jealousy, greed, murder and death while hinting at slavery and some racism.…

    • 5223 Words
    • 21 Pages
    Better Essays
  • Good Essays

    VBD Brief

    • 686 Words
    • 3 Pages

    There are many benefits of having consistency throughout any organisation, whether it is in the workplace or in customer interactions. Meeting demands consistently requires the attention of top leadership and it is becoming an increasingly important factor in various industries (Pulido, Stone and Strevel, 2014). This brief will highlight the advantages of having consistency throughout ‘Prestige Worldwide’ and how we can adopt it.…

    • 686 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Vbp Case Study

    • 599 Words
    • 3 Pages

    On measurement program for clinical processes are "hospital IQR" which scores, "clinical process of care and "patient experience of care." The following are the processes of care: Fibrinolytic therapy received within 30 minutes of hospital arrival (AMI);…

    • 599 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Science questions

    • 1480 Words
    • 6 Pages

    This is “Test Form” (A). Please indicate (A) in the “Test Form” column on your Scantron sheet.…

    • 1480 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Development Worksheet

    • 821 Words
    • 3 Pages

    There are many times when peer pressure can be harmful. When people peer pressure us into doing…

    • 821 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Milestones mark major project goals and phases. It visibly stands out to track progress in the project and is marked my indicators like the diamond ……

    • 310 Words
    • 2 Pages
    Satisfactory Essays