Program That Will Calculate FinalMarks?
Sep 12, 2011
program that will calculate finalMarks. Year mark counts 20% to the final mark and ExamMark counts 80% to the final Mark. Using case select: calculate final mark and display appropriate color. If the total is < 45 display color black etc
View 4 Replies
ADVERTISEMENT
Apr 26, 2009
Does anyone know how can I calculate pi (π) in VB?
View 6 Replies
Mar 21, 2009
Calculate sum in program? [code]...
View 5 Replies
May 15, 2010
I have a two maskedtextbox, one textbox named as masktxtdepostdate and , masktxtmaturitydate, txtnoofmonth.
i changed maskedtextbox property as date, in format "YYYY-MM-DD";
now i need to calculate masktxtmaturitydate after entering the values in, masktxtdepostdate and txtnoofmonth.[code]...
View 2 Replies
May 4, 2010
I'm doing a program that will calculate the new price. Iv been using a class to put my code their. Iv been getting errors in my form code.
Heres the class code
Public Class Computer
Private _id As String
Private _price As Decimal
[Code].....
View 8 Replies
May 17, 2010
I have a DataGridView with two columns, X and Y, which are the X and Y coordinates. What I am trying to do is to let the user input some X and Y coordinates, and it will calculate the best fit line.
View 5 Replies
Jan 4, 2012
iam making a program to calculate depreciation (just to apply what I learned) and when I run the program and made the input, I get an error that says "Please input numeric values." Here is the code for the calculate button [code...]
View 27 Replies
Mar 11, 2010
I am creating a program to calculate digits of pi, I get two error messages. Value is not a member of Integer. I get this message twice.
View 12 Replies
Apr 4, 2009
Im making a small tool that helps gamers keep track of their kills and deaths, and their kill/death ratio.I calculate ratio on startup of the program, straight after kills and deaths are loaded off my website.Dim ratio As Decimal ratio = Val(txt_kills.Text / txt_deaths.Text) At the moment, kills = 172 and deaths = 145. Ratio results in 1,1862068. How can I round this number up and turn this into a number with 2 integers after the dot? ( 1.19 ) I tried a hundred things so far but I cannot figure this out.
View 3 Replies
Oct 10, 2009
I want just a code that calculate and show the traffic (volume) of sending and receiving to/from internet?for example, IE is opening a page and IDM is downloading a file ; NOW , how many bytes has been sent / received
View 5 Replies
May 12, 2012
I want just a code that calculate and show the traffic (volume) of sending and receiving to/from internet?
for example, IE is opening a page and IDM is downloading a file ; NOW , how many bytes has been sent / received?
View 2 Replies
Mar 11, 2009
I am going to construct a VB program that will calculate dog and cat ages, i plan to have a user interface to ask the user if they have a cat or a dog, then id like another window appear to ask how many human years of age is your dog/cat, up to the age of 20 (in human years) with that input the calculator will give you the age equivilent in dog/cat years.
View 1 Replies
May 2, 2009
i'm making a program to calculate loan using dates, the customer borrows an item on a particular day and returns it on a given day else he would have to pay a certain amount of fine per day, which starts from the date of return if the user returns the item 1 day after the Date of Return, he pays a fine of 50pence if the user returns the item 3 days after the Date of Return, he pays a fine of 25pence per day if the user returns the item 10 days after the Date of Return, he pays a fine of 10pence per day and if the user returns the item 30 days after the Date of Return, he pays a fine of 5pence per day i did something like this, but it's not producing the required answer
Dim returned As Date
Dim due As Double
Dim fine As Double
[Code]....
how do i format a datetime in a textbox?
View 3 Replies
Nov 9, 2009
Option Explicit On
Option Strict On
Option Infer Off
[code].....
View 4 Replies
Jun 8, 2011
I want to calculate the average value of excel table readings 1 hr once... how do i import the sheet and how do i calculate the avg in vb.net?
View 4 Replies
Feb 19, 2010
I ma trying to create a program to calculate my math grade. The way my math teacher explained the grading scale was each test is worth 1 point and each quiz is worth .2 points.
So as an example (add both sides up then divide by both sides)
100 =1
80 = 1
15 = .2
18 = .2
213 divide by 2.4 which equals your grade of 88.75
There are more quizs and tests in the semester and I want the numbers to change with the number of quizs and tests entered. The only problem is I am not sure how to code it. I though I would use IF AND statements but I am not sure where to start.
View 8 Replies
Jan 29, 2010
I am designing and coding a program to calculate commission and pay and I have chosen to use menu items to do the calculations. I have written most of the code but I am seeing a few syntax errors that I do not understand.here is the code...
[Code]...
View 5 Replies
Mar 21, 2012
Actually i don't know how to mentions the years of work into the program and i don't know how to calculate the final result. I took a long time try to solve my problem but i can't.this assignment due tomorrow morning.
Public Class Form1
Private Sub btnClack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClack.Click
[code].....
View 5 Replies
Feb 18, 2011
if you want to make program to calculate the result of brackets math question , as 6+(9+(5-(1+(2+1)))) , and you made 2 buttons representing ")" and "(" , and you want when the user clicks on the "(" button it just applies that the number before it to be stored in a place like a label such that the program calculates numbers after it and then calculate the produced number and the label number , something will disallow you that the questions with many brackets as the mentioned one above 6+(9+(5-(1+(2+1)))) will for example store 6 and plus sign in a label but after that 6 will be placed by 9 because there is another bracket after 9 , so the question will be calculated false , more clarification for my question is the way brackets are made in the windows calculator so i want a coding idea to make the brackets like in the windows calculator
View 5 Replies
Sep 8, 2011
It is a cashier change return where the user enter the amount owed and the amount paid and when he/she press calculate the program should display the change due as well as the number of Dollars, Quarters, Dimes, Nickels, and pennies returned to the customer. When I run the program sometimes it gives me the right output and others it gives wrong output and it rounds the output. I just want to let you know that I have the option strict on. I will paste the code below
CODE:
View 1 Replies
Feb 14, 2010
For my programm I was told to do a programm to calculate the total and average rainfall. I have done so, but now I am supposed to use two function procedures to calculate the total and average rainfall. I can not seem to figure it out and it is very frustrating.
[Code]...
View 5 Replies
Nov 4, 2009
I am trying to make a program that will calculate the height of a falling ball for every .25 seconds starting at 0 and going till the height = 0 or until 10 items have been listed. I have started the code, but it just isnt working out!
Dim h, time as double
Dim aftert as integer
Do While h>0
[Code]....
I get an "expression needed" error from the &time& and nothing is displayed in the list box. Not to mention, I have no idea what to put in the loop or how to limit the list to 10 items or until the ball hits 0.
View 4 Replies
Feb 18, 2011
i am trying to create a small program that will calculate the miles between to postcodes.The way im doing this is to fill out a webform for each postcode and collect the returned Long/Lat values (i will then calculate the miles from that)
This all works well until my program freezes with no error message. It's after the same number of records as well and I don't know why.[code...]
View 2 Replies
Feb 18, 2012
I am creating a program for which will calculate the time taken for a user to make a number keystrokes. I want to start the timer running from the beginning of the first key stroke and end on the final keystroke. Each keystroke has been linked to a label which will change colour according to whether the key has been pressed. When the keystrokes have been finished I want to save this timespan in a field in a database. To test that the timer is running I have made a messagebox which will show the time taken however it is constantly showing zero and the label for the final keystroke is remaining in the keydown colour.
Public Class Form1
Dim dteStart, dteFinish As Date
Dim span As TimeSpan
[code]....
View 19 Replies
Feb 2, 2010
I'm trying to create a program which will calculate the Fibonacci Sequence which calculates the numbers correctly however, there are a few problems.
1. When using a Do While...Loop the program becomes non responsive.
2. Kind of dealing with the program becoming non responsive; I am unable to stop the process by forcing the sub to Exit.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Operation.Text = "Calculating...."
EStop = False
[CODE]...
View 3 Replies
Jul 15, 2009
I got a list of 16 items and I have sorted them and I want to show the number of comparisons the program had to make using the insertion sort?(in a textbox for example)I mean is there a formula?
View 10 Replies
Dec 22, 2011
I am working on bit more advanced calculator, but I cant figure out how I can make my program to calculate textbox1.text and show the answer in textbox2
For example: (textbox1) 5*62+4
(textbox2)314
I'm not sure this question belong in this topic, but I don't know where else it should be?
View 16 Replies
Mar 15, 2010
Im trying to programme a form to calculate rainfall total,average,maximum, and minimum.how do I create the input box that opens to input the info I cant seem to find it in the tool box. Am i Missing something, and how do I set a array to calculate?
View 2 Replies
Jan 15, 2011
how to start my programming for my visual basic 2008 drive in movie theater personal project. This project I decided to work on will calculate and display the money made by a drive-in movie theater. I just want to make sure I started it right. This is what I started with:
Module Module1
Sub Main()
Dim TypeOfNight As Char
[Code].....
Aw yeah, another thing I wanted to ask is how would I do the input, output, and If statements?
View 2 Replies
Mar 30, 2009
I am trying to calculate the number of years for my calculate age event handler, however i am apparently missing a method or whatnot because im trying to calculate the age , can anyone suggest help on this. I need to subtract years to get my age but when i try the birthdate.Subtract (currentDate) method i get an error about not able to convert from LONG?
So below is what I have.
Private Sub btnCalculateAge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateAge.Click
Dim currentDate As Date
Dim BirthDate As Date
Dim Age As Long
[CODE]
View 7 Replies