Create A Mortage Calculator?
May 25, 2010im supposed to create a mortage calculator but my teacher gave us no hints as to what we had to do so could someone explain wat its supposed to do in a nut shell
View 3 Repliesim supposed to create a mortage calculator but my teacher gave us no hints as to what we had to do so could someone explain wat its supposed to do in a nut shell
View 3 Replieshow to create calculator in vb.prashant
View 3 Repliesive got to create a BMI calculator using metric units, when i enter my data, it doesnt work (i put in 1.5m and 90kg but the answer comes out at 3, and in clearly not anorexic heres what ive got at the moment
Dim BMIResults As New frmBMIResults
Dim Answer As Integer
Dim BMIAnswer As Integer
Answer = CType(tbHeight.Text, Integer) * 2
BMIAnswer = CType(tbWeight.Text, Integer) Mod Answer
'BMIResults.Show()
'Me.Hide()
i had to create a hash calculator using vb2008?
View 2 RepliesI want to create a simple calculator using only 1 textbox , 1 button and 1 label, but I don't know how to create the code.
for example if i write : 53+35-33=
and if i press the button it will calculate and the answer the label will show the answer (55).
I'm taking an introductory programming course, and am completely flummoxed as to what I'm doing wrong with my program. The problem seems to be in my arithmetic, as the program runs fine; it just doesn't produce the correct result when compared to the professor's control model.
I need to create a mortgage calculator, using the following formula: monthly payment = interest rate * loan amount * ( (1+ interest rate) ^ months) / ((1+interest rate)^months)-1) )
We have to use that formula, no other one. If anyone can spot an error in my code, please let me know what I've done wrong!
The code I've written is as follows:
CODE:
I am trying to create a calculator, which can accept numeric keyboard imput, as well as button clicks, and display the number in a label.
Why does the numeric keyboard input work in this instance
Public Class Form1
Sub Form1_KeyPress(ByVal sender As Object, _
ByVal e As KeyPressEventArgs) Handles Me.KeyPress
[Code].....
Even if I press a keyboard number before pressing the button(so there is no need to clear the label if the button is pressed first etc), the number is not displayed in the label. And even if I completely comment out the code for the button-click, the keypress event still does not display the number in the label. It is as if just having the code for the button completely disables the keypress.
I am trying to figure out how to properly code to create a Commission Calculator. Is anyone able to provide assistance? I will provide the code here:
[Code]....
I have probleam with my code, currently i am create scientific calculator which have function sin, cos & tan. The code i create it not working because every time i convert the function it will show 0 as answer. how to correct my code here.
Public Class Form1
Dim total1, total2 As Double
Dim [Operator] As String
Const conversionFactor As Double = Math.PI / 180
Dim result As Double
total2 = Val(answer.Text)
[CODE]...
I just switched to VS 2010 for Windows phone 7 developement... I am trying to create a basic BMI calculator app...This is what I have now...
CODE:
However I have these errors which are as below
Quote:
CODE:
Quote:
CODE:
Did I forget to declare something? This does not happens when I am using the divide and multiply in VS 2008.
Error Screenshot as attached below...
i am trying to create a kind of calculator for fuel usage with menus lemme show ya the code:
Public Class frmFuelCalc
Private Sub AboutFuelCalcToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutFuelCalcToolStripMenuItem.Click
MsgBox("Guru Software" & vbCrLf & "Fuel Calculator Version 1.0.0.0" & vbCrLf & " Copyright 2011 © " & vbCrLf & " Guru Software Design â„¢ All Right Reserved", MsgBoxStyle.Information, "Fuel Calculator")
[code]....
So I was assigned to create a calculator that can calculate the sum, product, difference, & quotient using an external class. Unfortunately my teacher isn't exactly the best and I'm new to VB, I know how to create a calculator in VB .NET but when it comes to external classes,
View 3 RepliesI need to create a tiny calculator using the basic operators of Addition, Subtraction, Multiplication, and Division. My professor hasn't really covered much of this, so I'm not to sure how to create it.
View 6 RepliesI have this homework assignment where we have to create a pay calculator where you would enter the total minutes worked and the hourly pay rate. and then i have to create the code to show what the total weekly pay would be. I have to display the Hours Worked: and the Leftover minutes: I also know that the formula to calculate the weekly pay is totalMinutesWorked / 60 = hoursWorked and i have to use the Mod operator. [code]
View 2 RepliesI have this:
If (TextBox1.TextLength > 16) Then Return
But I want to add a beep to how can I do it? I mean I can only Return and I want to use Beep() too.
I've made a simple calculator, everything works except for the adding (+) function. Such as 3 + 4 = 34 (which it doesn't). It takes it as a string, rather than a number.
Here's what I have so far:
CODE:
Again, the problem is the adding is not functioning.
I am doing a tutorial for a simple calculator. My question is how can I add code to make a botton that add my tax % to the total amount I have.
Option Explicit On
Public Class Form1
Dim firstnumber As Single
[Code]......
The comma/dot may appear only ones. How do I modify that within this code??
bpuntingedrukt as boolean
Private Sub VoegCijferToe(ByVal sCijfer)
If Len(lblDisplay.Text) > 15 Then Exit Sub
If sCijfer = "0" And lblDisplay.Text = "0," Then
[Code] .....
Okay, i have two questions i will merge into one.I am using Express, just in case its important
First of all, i am trying to create a calculator using Visual Basic, which will end up being a lot like the 'Calculator' application built into all Microsoft computers.
I am having trouble however, with adding more than one thing to a text box.
[Code]...
i have to finished a cacluator, all my code seems to be working apart from the equals button and i do not understand why..i've tried several different things such as a case too but nothing seems to work to get the equals button working. This is my code, no need for all the buttons they are the same and ive declared variables.
[Code]...
Sorry in advance. I emailed myself my coding since I don't have vb on my personal computer. Sooo, the format is going to be off. But my program allows the computer to generate a random date. The user has to guess what day of the week the random date lands on. I have written the whole code. It all works except when user checks his/her answer. The answer always comes up as incorrect. Here is the coding:
[code]...
I want Dosage Calculator in c#.net for my module completion.
View 2 RepliesI want to build a calculator, i want to learn vb.net myself so i contacted you.
View 2 Replieshow to code the calculator?
View 2 RepliesHow can i design a calculator?
View 2 Repliesdoes anyone know what i need to do? if you do make a youtube video and post it in this post.
View 1 RepliesI need to do a programme that checks if the number a user enters is odd or even and then adds together all the odd numbers and all the even numbers seperately and displays the total in a label. My code just displays "0".
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim oddNumber As Integer
[code].....
You need to design and create a program that accepts input of employee name, employee type, and the number of hours worked each week for two weeks.You must be able to select an employee type. An employee of type Trainee makes $10 per hour. An employee of type Regular makes $15 per hour. An employee of type Manager makes $20 per hour.The program should calculate the employee�s pay for the week. The employee should receive 1 � times the regular pay for any hours worked over the prescribed 40 hours in a week. The program should output the following information:
Option Explicit On
Public Class Form1
Private Sub GroupBox2_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs)
[code].....
VB.pdf (69.13K)Number of downloads: 72 VB.pdf (69.13K) Number of downloads: 72
View 1 RepliesSo Im having trouble taking the code i have and being able to break it down into a tip class and a total class along with the main form. i did the whole code in on form and now im so confused on how to break it down.this is what i have! its alot because im using radio buttons.. on and im using visual
Option Strict On
Option Explicit On
Imports System.Convert
[code].....