Rate The Taste Of Drink From 1 To 10?
May 18, 2009
Each Taste Tester rates the two drinks on a scale of 1 to 10, with 10 being the best.I need to display the summary of results that contains the current results of the taste test.It should display the winner, the total number of taste tester and the average rating for each drink.My program has three forms.The main form, the input form and the summary form.For some reason, I can not get my results to display in the form. Plus it is not calculating my results correctly.[code].....
View 6 Replies
ADVERTISEMENT
Aug 19, 2009
how to calculate rate for 3 days in different rate like public holiday,weekend and normal for 1 room
View 2 Replies
Mar 25, 2012
How can I speed up a process? I see I should use timegettime, gettickcount, and queryperformance counter, but I have no clue where to start.
I guess you can call it Frame Rate or Refresh Rate of a process?
View 1 Replies
May 7, 2009
i am trying to indicate if the tax is at single rate (18%) or the family rate of (15%)This is what i got so far i could do the rest but just cant do the Mstatus part.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Name As String 'Name of employee
Dim hrWage As Double 'Hourly wage
Dim hrsWorked As Double'Hours worked this week
[code]....
View 1 Replies
Jul 1, 2009
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri;
[code]....
View 1 Replies
Oct 23, 2009
I want to know how to make my web users customize the appearance and looklikeYAHOO! makes that provision for its web-mail users.
View 1 Replies
Feb 8, 2010
I was trying to use the web service for currency rate to get the rate, although I have already add web reference to [url] but I still do not know how to retrieve it from there. I'm using asp.net vb.
View 1 Replies
Oct 25, 2011
I need to get shipping rates from USPS. I have signed up with them, got myself a user id and trying to use the sample request XML as shown on page
<Error>
<Number>80040b1a</Number>
<Description>API Authorization failure. RateV4 is not a valid API name for this protocol.
[code].....
View 1 Replies
Jul 31, 2009
I'm coding a program, which supposed to give the discount rate of the entered price, so there is as what I got on my code. [Code]
View 6 Replies
Mar 11, 2011
Im creating an interest rate calculator that will make sure the principal is a positive amount, retrieve the interest rate from the interest rate:numericupDown function and will leave a message in the resulttextbox.This is what i have so far:
Public Class InterestCalculatorForm
' handles Calculate Button's Click event
Private Sub calculateButton_Click(ByVal sender As System.Object, _
[code].....
View 3 Replies
Mar 3, 2010
I just started with VB.NET using Murach VB.net 2008 book and i want to make this program for my work, please tell me what knowledge needed to make this program beside VB.NET: want to make a program for my supervisor which Lists the name of every employee in our division. the program should be accessed by any computer in our division using LAN. each employee will have user and pass to enter this program they only can view their data with charts showing their attendance, productivity , etc, supervisor will have master account where can edit the info.the supervisor can send private message like e-mail to each employee. all the info should be saved in database so it can be used to compare the employee activity for each year.
View 3 Replies
Mar 9, 2010
duplicating a visual basic assignment. I have know idea where to start.......
Public Class Form1
Private Sub NumberofChildrenNumericBox_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumberofChildrenNumericBox.ValueChanged
[Code]...
View 4 Replies
Jul 8, 2009
Track open rate of hyperlinks
View 3 Replies
Feb 14, 2012
I am working on a program that takes a present value, multiplies it by an interest rate (between 1 and 25 percent), multiplies the resultant answer by a specified number of periods and produces a listbox breakdown of value accumulation for each period. I was doing just fine. UNTIL. yeah, until......I don't really know when...... I am trying to specify that the interest rate must be between .01 and .25 (user has to enter it as a decimal on the GUI) or a Message Error box pops up. However, it seems that everywhere I drop my code, it doesn'
vb.net
Private Sub mnuClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuClear.Click
[code]....
View 5 Replies
Nov 16, 2009
I have this code that is supposed to calculate the gross pay based on hours and rate, the program debugs without a problem but when I click the calculate button it gives me and answer of "0.00".
Public Class frmMain
Private Sub btnCalc_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCalc.Click
' calculates and displays a gross pay amount
Dim dblHoursWkd As Double
[Code] .....
View 1 Replies
Jun 25, 2010
I am developing a software for tracking the time and attendance for employees. I am learnt the best way for me to be able to capture this information is through the use of a biometric device. But right now my problem is how do i integrate the biometric device in my project. What do i need in order for my Vb.net to be able to recognize the biometric device so that i can record the details captured into the database.
View 3 Replies
Jun 22, 2010
I am trying to open a cmd window as an admin but it never works. I can open a command window but it does not open as the admin.. Here is my code (VB.NET 2008)..
[Code]...
View 5 Replies
Oct 20, 2009
This is the current incarnation of what I have:
'Program: Ch4E4.6
'Programmer: Jeff Pannell
'Date: October 1, 2009
'Description: This will allow for entry of a worker's name and the number of pieces completed. The program will then calculate a pay rate, but also determine an average and summarize number of pieces made, total pay and an average pay per person.
Public Class PieceworkForm
'Declaration of modular-level constants.
Const PIECE_RATEA_Decimal As Decimal = 0.5D
Const PIECE_RATEB_Decimal As Decimal = 0.55D
Const PIECE_RATEC_Decimal As Decimal = 0.6D
[Code] .....
So, my problem is that whenever the form is executed..a user would type in a worker name, and the amount of pieces made. I get a dollar amount earned and then a total pay, though they seem to be the same. More than likely I've got some sort of bad logic in there mathematically.
View 3 Replies
Jun 24, 2010
im using VB 2008 and been trying to use the RS232 at 5 baud and setting the baud to that rate seems to go ok but when put in pratice it seems way to quick and doesnt work. I put that down to its to slow baud rate and not supported. I only want to send 1 byte so tryed it manualy by this ........
[Code]...
View 7 Replies
Apr 14, 2009
I am currently working on an ATM prototype in VB.Net and have encountered difficulties when trying to return values from two different recordsets in the same table. I wanted to set the value of the 1st record to be equal to the exchange rate for dollars and the 2nd record to be the exchange rate for euros. When I run the code below I get the error:Current provider does not support returning multiple recordsets from a single execution.
[code]...
View 18 Replies
Apr 9, 2012
Imports System.Speech.Synthesis
Public Class Form1
Dim speaker As New SpeechSynthesizer()
[Code]....
rate 1 is fast.. is there any way to slow it down? but rate 1 is suppose to be slow.. when i set to rate 5, cant even understand what she is saying.
so did i miss something?and one more thing.. when my app is speaking, the GUI is hanged.. i understand as one function is running, i cant do anything else..
so is there any way to set speaker in backgrond so form can perform different functions?
View 3 Replies
Apr 2, 2009
[code]what I have done (with some help) is find a timespan. the timespan (between when an employee logged in-out) is, for example, 1:15 (1 hour, 15 mins).the pay rate is 6.00 (representing $6.00)I can't get the program to multiply the timespan by the payrate..Error: 'Conversion from string "02:00:00" to type 'Double' is not valid.'
View 5 Replies
Feb 11, 2009
Lately our network is having some speed issues at certain times of day, so what I'd like to do is make a little app that will test the network speed at certain intervals, like once an hour between certain servers etc and then write the results to a text file. Is VB 2008 cable of doing something like this? I thought of maybe copying a 500mb file from 1 place to another and somehow record the average transfer rate of that file, but I am not exactly sure about how to record the transfer speed.
View 4 Replies
Jan 28, 2012
We have a weigh bridge connected to PC via serial port.A VB code fetches the data from serial port and puts it in clipboard,which can be used by other applications like SAP.
We have several different makes of weigh bridge at different locations, each with separate settings(baud rate,data bit,parity), hence we need to change the VB code each time a new make weigh bridge is installed.
can we write a generic VB code which can automatically detect all these settings and capture the weight?
View 14 Replies
Jun 24, 2009
Are u able to take a look at this code and see how can I create a loop on timer1 to control the rate of timer 2... Coz this is the code that my lecturer had amended..
[code]...
View 18 Replies
Oct 29, 2009
The hotel has 8 floors and 30 rooms on each floor. Create an application that calculates the occupancy rate for each floor, and the overall occupancy rate for the hotel. The occupancy rate is the percentage of rooms occupied, and may be calculated by dividing the number of rooms occupied by the number of rooms.When the user clicks the "Complete Report" button, a loop should execute and iterate 8 times. Each time the loop iterates, it should display an input box for one of the hotel's floors. The input box should ask the user to enter the number of rooms occupied on that floor. As the user enters a value for each floor, the loop should calculate the occupancy rate for that floor, and display the information for that floor in the list box. When the number of occupied rooms has been entered for all the floors, the application should display the total number of rooms occupied and the overall occupnacy rate of the hotel.I have some of the code but I'm not sure which way to go now!
[Code]...
View 14 Replies
Jul 6, 2011
The program is a hotel occupancy form The Hotel has eight floors and 30 rooms oneach floor. I'm supposed to create aapplication that calculates the occupancy rate for the hotel. Theoccupancy rate is the percentage of rooms occupied, and may becalculated by dividing the number of rooms occupied by the number ofrooms. For example, if 18 rooms on the first floor are occupied, the occupancyrate is: 18/30 = .6 or 60%. The form has two out labels called totalrooms occupied and overall occupancy rate that holds two output text boxes todisplay the numbers
its only three buttons Calculate report,close, and exit Its obvious what the exit buttons issupposed to do the clear button should clear all the controls on the floor
Now the complete report button is supposedto loop and iterate eight times. Each time the loop iterates, it should displaya input box for one of the hotel floor. The input box should ask the user asksthe user the user to enter the number of rooms occupied on each floor. As theuser enters a value for each floor, the loop should calculate the occupancyrate for that floor and display the information for that floor in a list box.When the number of occupied rooms has been entered for all floors theapplication should display total number of rooms occupied an overall occupancyrate for the hotel. (the hotel has a total of 240 rooms total)
[code]...
View 6 Replies
Dec 9, 2010
I have a function that will get the present upload and download rate of my current connection.
It is working now here is my code used:
Dim NetSent As New System.Diagnostics.PerformanceCounter
Dim NetReceived As New System.Diagnostics.PerformanceCounter
Dim KBytesSent As Long
Dim KBytesReceived As Long
Do Until Me._Stop
[Code]...
View 7 Replies
Jul 6, 2009
I am writing this program for class its supposed to be able to accept loan amount interest rate amount and the term of the loan (in years) and then output how much interest you owe and how much in total you owe.
Here is my code:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
'Declare Variables
Dim loanAmount As Double
Dim interestRate As Double
[Code] .....
I copied the whole code as to I do not know where the rros are. My error keeps saying 'class' statement must end with a matching 'end class' I got a feeling this is something like if/endif but I cannot find it.
View 7 Replies
Oct 7, 2010
I've been racking my brain lately to try and come up with an algorithm to set a frequency rate at which an object may appear.
This best way I can think to describe a "for instance" is gonna sound nerdy but here goes.
Say I have a subclass that is just one of many on a Large class, kinda like spades in a deck of cards. However I dont specifically want 13 spades in my deck, I want to randomly generate this deck with a random chance of spade appearances. but beyond that, i want to give each sub-subclass, like a jack of spades, a "Frequency number", that upon generation of this main class (or deck in this example) will use random in combination with this "frequency rating" (0-100) to place the sub-sub class and even the sub classes in place.So as for my example, a 2 of spades might have a high freq like 90 and thus showed up 15 times in my deck, while the jack, with a rate of say 20, only showed up once or twice in my deck.
View 6 Replies