Calculation Program For Test Score
Feb 24, 2009
I'm new to VB and I'm doing a calculations program for test scores. I got everything setup for my clear and exit buttons but not sure what I have to put in the calculate button code for it to calculate. Here is what I have so far.
Public Class Form1
Private Sub Label5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblTestScore5.Click
End Sub
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
[Code] .....
View 13 Replies
ADVERTISEMENT
Nov 4, 2009
I have to take information that is entered in a text box such as name, test score then send it to a list box then from there I have to split the test score and calculate the grade. I have been trying to find information on how to separate the test score to do the calculation.
View 2 Replies
Apr 14, 2012
Haveing troubles with an assignment. I am writting code that will allow user to enter a score and the program returns a grade based on the score entered. I can get it to work using "IF" statements but want to use code for ranges. My "IF" code is as follows.......
[Code]...
View 1 Replies
Apr 14, 2012
Haveing troubles with an assignment. I am writting code that will allow user to enter a score and the program returns a grade based on the score entered. I can get it to work using "IF" statements but want to use code for ranges. My "IF" code is as follows.......
[Code]....
View 2 Replies
Oct 17, 2010
I have been working on a class project for sometime now. Currently stuck and need some help. Project is due today, so I'm desperate for some help. Please see attached project file.
[Code]...
View 1 Replies
Oct 8, 2010
i just got another assignment with no instruction on how to do it. I have no prior programming skill so these assignment are really hard for me, [URL]..
View 6 Replies
Nov 30, 2010
I am currently going through Murachs Beggining .net programming book. I am trying to implement an application for an exercise at the end of chapter 5. The application specification is as follows.
[Code]...
View 2 Replies
Dec 6, 2009
I have made it so my code will print out the average score of all the test as one. but for each student i need to have an average score.
Public Class frmMain
Structure TestScores
Public decTest1 As Decimal
Public decTest2 As Decimal
[code].....
View 5 Replies
Feb 8, 2012
I'm not sure where I'm going wrong with this. it's supposed to let the user add scores to the list, then calculate the total, average, and count. However, it doesn't let me add more values to the list. Any help whatsoever would be awesome! Keep in mind, I am new to VB and programming languages, and was just playing around with code hoping for any sort of positive result, and therefore some of the code may not be necessary, or make sense. Here's what I have now:
[Code]....
View 2 Replies
Jun 7, 2011
My objective is to find the lowest test score in the array and display it in the associated label using a DoLoop. However, I don't think I was to use the ForNext stmt.Could I have used the DoLoop without the ForNext? ' displays the lowest test score stored in an array
Dim testScores() As Integer = {14, 82, 94, 77, 11, 95, 38, 62}
Dim lowest As Integer = testScores(0)
Do
For subscript As Integer = 1 To testScores.Length - 1
[code]....
View 3 Replies
May 10, 2010
I am writing a noughts and crosses game and I want to be able to keep score everytime each character wins a game, I have written a sub routine to handle this but it seems to count up in 5's and 10's??I have used a global variable like this Dim i As Integer = 1 then declaired that variable in my sub like this i += 1 (I thaught that this would just add 1 everytime X won a game)then used the variable i to add the score to the label control that keeps the score for the character X.My question is, am I using the correct syntax (+=) for the variable.
View 2 Replies
Jan 2, 2012
I am having an issuse with weither i should make 15 different fourms or just make 15 text boxes three for each round plus creating something that would add the doubles and triples I do not know what to use for a code, I have just started programming. this is what i have tried to do.
CODE:
View 4 Replies
Mar 12, 2011
I've recently started programming for Visual Basic Express - 2008, and I'm currently trying to make a program which takes a bunch of inputs (Name, Age, x2 score results) and then turns this into an output at the end which varies depending on the score results.
I've stumbled upon a small hinderance, which is that the very final stage which has a Console.Writeline does not appear after testing the program. So, everything else functions fine, but as soon as it gets past the "Console.WriteLine("All pupils have been calculated, the results are...")" command the program closes itself.I'm not looking for much help, just wondering exactly what is causing this to happen. I also realise that my coding is sub-par and is coded in a slightly odd fashion, but I'd rather just get this one to work and use the mistakes from this one to correct my future work.
View 5 Replies
Jan 8, 2010
In class i saved my program in with load of other test programs for the same assignment and got everything mixed up i finally figured out what was what and loaded the program in Visual Basic. Now my program doesn't recognize one of my forms when i try to access the design view of it. I hit run for the hell of it and the program runs with errors of course but the form1 "the missing one" shows up with all the buttons etc and i can use it.
Heres the link to the files. [URL]
View 3 Replies
May 28, 2009
allow the user to enter a stock transaction and determine the stockbroker's commission. Each transaction includes the following data: the stock name, price per share, number of shares involved, and the stock broker's name. Assume price per share = P. The stockbroker's commission is computed in the following manner: If the P (price per share) is less than or equal to $50, the commission rate is $0.19 per share, if P is greater than $50, thecommission rate is $0.26 per share. If the number of shares sold is less than 150, the commission is 1.5 times the rate per share. Display the results in a message box, including the total commission earned.
View 2 Replies
May 28, 2009
Fist off, I am new at this and only learning it for a class. We have a program to create using Visual Studio 2008. The teacher doesn't give us much to go by so I really have no idea where to even start so any code will be a great help. Here is what i have to create:Your project will allow the user to enter a stock transaction and determine the stockbroker's commission. Each transaction includes the following data: the stock name, pricer per share, number of shares involved, and the stock broker's name. Assume price per share = P. The stockbroker's commission is computed in the following manner: If the P (price per share) is less than or equal to $50, the commission rate is $0.19 per share, if P is greater than $50, the commission rate is $0.26 per share.
View 1 Replies
May 23, 2010
I just need help with my Pizza Program in calculations. It keeps on adding on top of the original calculations. I did try to set the variables to 0, but that really didn't work out since the price that is shown turns out to be 0.
View 1 Replies
Jan 30, 2010
I am having trouble with a program for the calculation of bicycle gears. you are required to enter the wheel radius the the teeth on the front sprocket followed by the teeth on the rear sprocket. On the first entry of the rear sprocket number, the program will calculate the effictive radiusand display it in a label. If there are subsequent entries of sizes for the rear sprocket then the effective radius is calculated as before as well as the ratio between the current and previous radius.
[Code]...
View 4 Replies
Apr 10, 2012
I'm setting up a quote calculation program for my business.I'm just a beginner with Visual Basic (2010 Express) and am finding it very interesting.I already did some reading and followed the tutorials but I'm getting stuck with my program now.
[Code]...
Make it possible for users to enter necessary data in the "new quote" screen. The data needs to be written into the database table of "new quote"Make it possible for users to lookup previously made quotes in the "open quote" screen. I want them to be able to select a quote based on "quotenumber" or "customername".They then must be able to select a quote, which will open a new window with all quote information from the tables. This information needs to be editable and savable to the databaseGenerate a PDF of a "finished" quote and mail it as attachment to a customerthe "customer information" table contains information for the quote concering address and name of customer. I want this so that users can select a customer in the "quote screen" and all other data will be filled in automatically. I also want that users
can give in a new customer in the quote screen and that that customer will be saved in the "customer information" table.point 4 is also applicable for the "material information table".
View 1 Replies
Nov 18, 2009
I am having a problem with the syntax of this calculation for a bowling program that I am writing for school,
If radMale.Checked = True Then
(200 - decAverage) * .75
lblAverage.Text = FormatNumber(decAverage)
View 1 Replies
Sep 1, 2010
I've got a requirement where I need to calculate a value, however also refer to this value when calculating it. So I've got for example[code]...
I can see how this can be achieved in excel using Circular Reference, however I'm not sure how I go about it when using VB.Net. Is there a similar method to create a Circular Reference as in excel or any other way I can possibly work out the TotalValue?
View 5 Replies
May 25, 2010
i need the program to reject letters and words which are entered into the text boxes and only accept numbers. At the moment i am using IF statements but i need a more pratical approach to this.
View 4 Replies
Mar 30, 2012
I am making a quote calculation program with Visual Basic. Per quote there can be multiple parts/products.
What I want now:
1) insert productinformation (dimensions, quantity etc.) in one form
2) write this data into a table or something
The program then needs to calculate prices etc. but first it is important to get the data right for the calculation.
What I am thinking of myself is putting the data into textboxes and then let this data be transported to a table and have one product per line in that table. from this it can be calculated
View 19 Replies
Dec 19, 2009
I need to store a calculation to use later and obtain a new calculation
[Code]...
View 4 Replies
Oct 27, 2011
Im having trouble getting my code to display the form which would hold the results from this little exam.Whenever I click on my "Score" button in the main form the program just sits there. I need for it to display the Results form if all of the answers that have been inputted are correct, and if one of them isnt I need for it to display the error message. Im thinking the problem is in my Try-Catch statement, but I really have no idea.
[Code]...
View 7 Replies
Apr 18, 2012
On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.
Code:
Public Class Form1
Dim Myturn As Integer
Dim Computerturn As Integer
[CODE]...
View 6 Replies
Dec 27, 2011
in my Application Prime95 is opened for 60 seconds. i want to know how to make the test end if the user closes prime95.
* how to detect if prime95 is not running in short *
View 15 Replies
Aug 2, 2009
I have the following module and i would like to test connection.[code]...
View 2 Replies
Jun 23, 2009
I have a project named Mapstuff which contains several class modules. I have created a console app called TestMapstuff where I would like to test several of the classes that I have created in Mapstuff. All of this is under development. The files are stored like this:[code]How do I import the Mapstuff classes into the TestMapstuff app?
View 8 Replies
Feb 10, 2012
are there any way we can make a program to test a speed of mac even if you are not using it?
like for instance
64:16:F0:003:9A
how can i test this without using it?
View 1 Replies