Compute Commission For A Stockbroker Within Parameters

Feb 23, 2010

My assignment is to compute commission for a stockbroker within the following parameters: Commission for stock =< $50.00 = 0.19 base per share; for stock >$50.00 = 0.26 base per share If number of shares is =< 150 then commission rate is 1.5 * base per share. [code] Did I mention that I am an extremely new user to VB?

View 2 Replies


ADVERTISEMENT

Calculating Commission In VB?

Apr 1, 2011

I'm really new to VB. This is only the 3 app I've created, and I'm stuck.I need to code an app that displays total commission earned on sales at different levels. The commission percentage goes up as sales go up.

Should I write a If/else/else/else/else/then statement or something else?There are 5 different commission levels in the problem. I have my interface designed, but obviously that's the easy part.

View 1 Replies

Designing And Coding A Program To Calculate Commission And Pay?

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

Have The Txtcommission.txt But Is Not Giving An Output In The Commission Textbox?

Nov 30, 2009

Im trying to figure out how to get the output on this code. I have the txtcommission.txt but is not giving me an output in the commission textbox.

Private Sub btnCal_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCal.Click
Dim intSales As Integer
Select Case intSales
Case 1 - 100000.99

[code].....

View 12 Replies

Properly Code To Create A Commission Calculator?

Mar 10, 2012

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]....

View 7 Replies

Sales Commission Program - Output Values?

Oct 21, 2009

I wrote this code and everything works as planned:
Module SalesCommissionProgram
Sub Main()
Dim name As String = 0
Dim code As String = 0
Dim monthlySales, commissionDollars As Double
' Prompt user to input value for name
[Code] .....

For the finished project I am supposed to have it output the total sales and commissions for that were calculated before the sentinel value (Eugene) was entered. Here is what I tried and here is where I am lost.
Module SalesCommissionProgram
Sub Main()
Dim name As String = 0
Dim code As String = 0
Dim monthlySales, commissionDollars As Double
[Code] .....

View 10 Replies

Calculate And Display A 2% Commission On Sales Entered By The User And?

Mar 31, 2009

When I run this application the 2% menu item works fine but the 5% does not. It does nothing at all. I'm stuck.

[Code]...

View 2 Replies

A Program That Uses Constants To Establish The Base Pay, The Quota, And The Commission Rate?

May 6, 2009

I need to write a program that uses constants to establish the base pay, the quota, and the commission rate. The Pay menu item calculates and displays the commission and the total pay for that person. However, if there is no commission, do not display the commission amount (do not display a zero-commission amount).

Write a function procedure to calculate the commission. The function must compare sales to the quota. when the sales are equal to or greater than the quota, calculate the commission by multiplying sales by the commission rate. Format the dollar amounts to two decimal places; do not display a dollar sign.

The summary menu item displays a message box that holds total sales, total commission, and total pay for all salesperson. Display the number with two decimal places and dollar signs.
the Clear menu item clears the name, sales, and pay for the current employee and then resets the focus.

The Color and Font menu items should change the color and font of the information displayed in the total pay text box. Use a message box to display the program name and your name as programmer for the about option on the Help menu.
[code...]

So the issue is when I push calculate and summary, the total sales comes up, but not the total commission or total pay. Also, the color only changes to blue and that is it. I am not sure how to get the color or the font menu choices to be able to be choosen by the user. Is that possibile?

[code...]

View 1 Replies

Program A Selection Structure To Display Different Commission Rates Per Sales Entered In A Textbox?

Apr 1, 2011

So I'm trying to program a selection structure to display different commission rates per sales entered in a textbox.I need to have the commission total display alone. I have the simple interface done, but I'm having trouble forming the selection structure.

View 1 Replies

C# - Search For Names In The Database That Matches Whole Parameters Or Any Part Of Parameters

May 13, 2011

I'm writing a query to select all records that has any part of parameter. I have one table called Employees. Some people have name like this: John David Clark If the parameter is

[Code]....

I should be able to get result back as long as there's a match in the parameters. If I use Function Contains (q.FirstName & " " & q.LastName).Contains(employeeName), I will not get any result back if employeeName is "John Clark" Function Contains looks only for next words from left to right. It doesn't match a single word at a time. So that's why I used this in the Linq to SQL:

[Code]....

View 2 Replies

Error [07002] The # Binded Parameters < The # Of Parameters Makers

Aug 30, 2010

I am getting error [07002] the # binded parameters < the # of parameters makers, i checked both parameters were perfect even though i am getting this error here is my code

[Code]...

View 1 Replies

How To Compute Income Tax

Oct 2, 2011

how can we compute tax using the values in the database.?

View 10 Replies

How To Compute MI For A VB Application

Mar 3, 2009

Currently i am able to compute MI (Maintainability Index) at a VB Method and VB Function Level. I would like to know how this can be rolled up to the application level?

View 3 Replies

Cannot Compute Total Value Of A Row In Program

Jul 6, 2009

How can I get the total value of a row(qty) in datagridview in visual basic 2008?

View 5 Replies

Compute A Database Column In NET?

Apr 10, 2010

I have a Database named CarsType.accdb there are four fields in the data base Item_Name, Item_Num, Item_Qty, Item_Cost.

I am able to get the database to display my data in VisualBasic but I am not sure how to get the total cost to appear in my label (lblTotalCost). I prefer doing it in VB versus writing in my access program. All I am wanting to do it multiply item_qty * Item_Cost How would I go about doing that?[code]...

View 2 Replies

Compute Cells Using DataGridView?

Jan 30, 2012

I have 3 column Qty,Price and Amount and i need to compute the amount per line using DataGridView, what are the possible events I may use?

View 1 Replies

Rounding With Datatable Compute?

Jul 20, 2011

I need to round the result from compute.8/19, how can i round this result to two decimal.Is there any symbol i can use for compute function to recognize the rounding format, because not must be two decimal,sometime may one or in integer?

View 3 Replies

VS 2010 - Compute Max Value Of A Column?

Mar 9, 2012

I've created a DataSet with DataTable and I'm adding values of DataRow - Zvodp [m] in a For loop. Data type of this column is Double. When I want to use Compute method like this:

TB.Text = DataTable1.Compue("Max(Zvodp [m])", Nothing)

I get this message:

Syntax error in aggregate argument: Expecting a single column argument with possible 'Child' qualifier.

View 2 Replies

.net - Join 2 Tables With A New Compute Field?

Mar 14, 2012

here what i try to get:

Table A:
Field: Name A
Field: Id_A

[Code]....

In fact i want to list in grid the table A with a column which contains a checkbox and is checked if the item is include in table B (field TableA_Id_A).

View 2 Replies

Code The Automatic Compute Date?

Feb 18, 2012

how to code the automatic compute the date. Example In Date Applied the Date today February 18, 2012 then will be automtic compute in 10 days in Date Realesed February 28, 2012.i have code for the date this is for the DateApplied: Label26.Text = Format(Now, "MMMM dd, yyyy")

View 10 Replies

Compute Addition Of Columns In SQL Database In VB?

Sep 23, 2009

i am currently doing a project on a marking program..I have to total up the marks for question B1 to C2 and compute the sum to 'Total' column.

Table name is 'Student'

Database name is 'Database1'

View 6 Replies

Compute Average On Loop ,array?

Aug 1, 2009

My assignment was to compute design a {Loop, Array } that user inputs grades and calculates the average, Im stuck on the part of computing avg but i

Module Module1
Sub Main()
'Declare Array called Grades with 4 Elements

[code].....

View 3 Replies

Compute Standard Deviation In LINQ?

Aug 19, 2009

How will i compute Standard Deviation in LINQ? How do i convert Average in decimal in LINQ? I'm working on the code below. I already got the Average but it's in whole value not decimal. I need a four point decimal for my Average. Help please.

Private Sub Compute_VIT_MeanSD()
Dim decAverage As Decimal
Dim msg As String = ""

[code]....

View 1 Replies

Compute Values In A Datagrid Column?

Oct 12, 2011

ei guys how to compute values in a datagrid column.. we have just tried some codes but it appers false anyway.. just need it badly.. i just have 30 min. :CCC

View 5 Replies

Compute Whether An Integer Number Is Prime Or Not ?

Feb 28, 2008

What i'm trying to do is compute whether an integer number is prime or not. The program performs this analysis for all odd numbers from 3 up to an input integer limit, for example 100. If the integer in the range 3 to limit is prime, a message stating so is printed. Otherwise, a message is printed that lists at least one other integer divisor. The output for each analyzed number consumes one line of text.

A sample output is shown below:

Limit is 100:
Number 3: is prime
Number 5: is prime
Number 7: is prime

[CODE]...

I understand I need to use loops, boolean functions, vbmath(), strings and multi-line out via concatenation. So I can put this is words how I think it should be done but not so great putting the code together

Test all integers up to the SQRT of the number (100)

limit = math.sqrt(100) + 1

Followed by 1 For statement
For c = 0 to 100 step 2?
And an If statement
If ......
result = false

View 4 Replies

Compute With The Use Of Date Time Picker?

Feb 29, 2012

i have a problem regarding my project, its a library system to be exact here the flow of the problem in the library there is a borrowing time and a returning time of books every hours that the student failed to return the book it will cost 5 pesos(philippine money)and in a day it will cost 40 pesos.. 9 am to 5 pm is the counted hours of penalty, night is not included in the computation of penalty.. my borrowing form is in datagrid view.. is it good to do this in details view how to compute in date and time format?

View 1 Replies

Modify The Compute.datatable Function?

Feb 24, 2011

this function enables you to calculate a full arithmetic calculation , as 5*(3+2)+6 , but : it's limited with (+,-,*,/) signs . is there any way to add a support for the another signs (like : !,sin,cos,tan,root,^,log and another signs) to give the user the ability to calculate a full calculation including the other signs which cannot be calculated within the compute.datatable function ?

View 2 Replies

VS 2005 Dataset Compute,Avg Sum Functions?

Nov 30, 2010

I am using xml reader to read an xml file into a dataset and and then create some dataviews and bindingsources for binding combo and text boxes as such:

Dim folderName As String
Dim xmlFile As XmlReader
Dim ds As New DataSet()

[code]....

I don't know how to do the same thing I am trying something like:

Me.yearavgdomtxt.Text = CStr(ds.Tables("Property").Compute("AVG(DaysOnMarket)", Nothing))

No error but no result

View 5 Replies

VS 2008 Compute With Multiple Filters?

Jun 12, 2011

Is there a way to use the DataTable.Compute Method with 2 or more filters, i have googled a bit and cant seem to come up with answer?

Current code
Dim Dt As Decimal = NumericUpDown1.Value
dtlist.Rows(i)("Value") = dtsold.Compute("Max(ClosePrice)", "Distance <=" & Dt & "")

[code].....

View 4 Replies

VS 2010 Down Side To Use Compute Method

Mar 9, 2012

Is there a down side to using the Compute method, like this, [code] or would it be better to add the query to my datasource?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved