Discount BMIS208 BMIS/208 BMIS 208 - All Weeks and Course Project - All Assignments 1 2 3 4 5 6 7 8 9 10 - Week 1 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8 - Course Project
    BMIS208 BMIS/208 BMIS 208 - All Weeks and Course Project - All Assignments 1 2 3 4 5 6 7 8 9 10 - Week 1 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8 - Course Project BMIS208 BMIS/208 BMIS 208 - All Weeks and Course Project - All Assignments 1 2 3 4 5 6 7 8 9 10 - Week 1 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8 - Course Project BMIS208 BMIS/208 BMIS 208 - All Weeks and Course Project - All Assignments 1 2 3 4 5 6 7 8 9 10 - Week 1 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8 - Course Project

BMIS208 BMIS/208 BMIS 208 - All Weeks and Course Project - All Assignments 1 2 3 4 5 6 7 8 9 10 - Week 1 - Week 2 - Week 3 - Week 4 - Week 5 - Week 6 - Week 7 - Week 8 - Course Project

$157.01
$237.89

Assignment 1

Create a Visual Basic form like the one below that allows the user to press buttons to change the background and foreground colors of the textbox. Your form should have 4 buttons, 2 labels, and 1 textbox.

1.      Name the form frmAssignment_1 and put Assignment #1 in its title bar.

2.      Name the buttons btnBlue, btnYellow, btnRed, and btnGreen. The captions on the labels should be Blue, Yellow, Red, and Green, respectively. The tab order of the buttons should be Blue, Yellow, Red, and Green. Create access keys for the buttons with the “B” underlined on the Blue button, the “Y” underlined on the Yellow button, the “R” underlined on the Red button, and the “G” underlined on the Green button.

3.      Name the textbox txtVerse and enter into it the Bible verse from John 3:16 as depicted below. The form should open with this textbox having the focus. The font of the textbox should be Script MT Bold, size 12, style Bold.

4.      Name the labels lblBackground and lblForeground. The text of the labels should be Background and Foreground, respectively. The font of the labels should be Times New Roman, size 12, Bold.

5.      When the user clicks the Blue button, the background of the textbox should become blue (use Color.Blue).

6.      When the user clicks the Yellow button, the background of the textbox should become yellow (use Color.Yellow).

7.      When the user clicks the Red button, the text within the textbox should become red (use Color.Red).

8.      When the user clicks the Green button, the text within the textbox should become green (use Color.Green).

Assignment 2

Create a Visual Basic program that creates a bill for an automobile repair shop.The shop bills customers at the rate of $35 per hour for labor.Parts and supplies are subject to a 5% sales tax.The customer’s name, the number of hours of labor, and the cost of parts and supplies should be entered into the program via textboxes.When the Display Bill button is clicked, the customer’s name and the 3costs should be displayed in a list box as shown below.

  1. Name your application Assignment_2.
  2. Name the form frmAssignment_2.The title should be as depicted below.
  3. Name the labels lblCustomer, lblPhone, lblHours, and lblParts.
  4. Name the textboxes txtCustomer,txtHours, and txtParts.
  5. Name the listboxlstBill.
  6. The Customer phonetextbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters).Name this MaskedTextBoxmtbPhone.Show the underlines and dash in the mask.
  7. If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.
  8. Create variables to hold the customer, phone, hours, and parts information.Name the variables customer, phone, hours, and parts.Their data types should be string, string, double, and double, respectively.
  9. When the user clicks the Display Bill button, prompt the user to enter in the date of the services.Store this information in a variable called service_date.Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below.[Hint:use the AddDaysfunction].Store the due date in a variable called due_date.
  10. Convert the customer name variable to upper case before displaying it in the listbox.
  11. Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.
  12. To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.
  13. Be sure to use currency format where appropriate.
  14. Be sure that the columns line up appropriately.[Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.]

Assignment 3

Create a Visual Basic program to analyze a mortgage.The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months.When the user clicks on the button, the information that was entered should be checked to make sure it is reasonable.If bad data have been supplied, the user should be so advised.Otherwise, the monthly payment and the total amount of interest paid should be displayed.The formula for the monthly payment is:

Payment = p * r / (1 – (1 + r) ^ (-n)),

Where p is the amount of the loan, r is the monthly interest rate (annual rate divided by 12) given as a number between 0 ( for 0 percent) and 1(for 100 percent), and n is the duration of the loan in months.The formula for the total interest paid is:

total interest = n * payment – p.

  1. Design your screen to look like the one below.
  2. Store the amounts entered by the user in variables and use these variables in the formula.
  3. Use appropriate naming conventions for controls and variables.
  4. Include internal documentation to describe the logic in your program (i.e. put comments in your code).
  5. Make sure your error messages are meaningful.
  6. Ensure that the user cannot enter anything into controls that display your totals.

Assignment 4

A furniture manufacturer makes two types of furniture—chairs and sofas. The cost per chair is $350, the cost per sofa is $925, and the sales tax rate is 5%.

Write a Visual Basic program to create an invoice form for an order (see the diagram below). After the data on the left side of the form are entered, the user can display an invoice in a list box by pressing the Process Order button.

The user can click on the Clear Order Form button to clear all text boxes and the list box, and can click on the Quit button to exit the program. The invoice number consists of the capitalized first two letters of the customer’s last name, followed by the last four digits of the zip code.

The customer name is input with the last name first, followed by a comma, a space, and the first name. However, the name is displayed in the invoice in the proper order. The generation of the invoice number and the reordering of the first and last names should be carried out by Function procedures.

Assignment 5

Instructions
Depreciation is the systematic and rational allocation of cost over a period of time.
For tax purposes, an item may be depreciated over a period of several years, n.With the straight-line method of depreciation, each year the item depreciates by 1/nth of its original value.With the double-declining-balance method of depreciation, each year the item depreciates by 2/nths of its value at the beginning of that year.(In the final year, it is depreciated by its value at the beginning of the year.)Write a Visual Basic program that performs the following tasks:

Deliverables

1. Request a description of the item, the year of the purchase, the cost of the item, the number of years to be depreciated (estimated life), and the method of depreciation.The method of depreciation should be chosen by clicking on one of two buttons.

2. Using the formulas below, calculate the amount of depreciation per year given the values entered by the user.You may assume a salvage value of $0.00 and a January 1 date of purchase for the year entered.Display a year-by-year description of the depreciation. See the diagram below.

Straight-line formula:
Cost – Salvage Value= Depreciation amount per year
Estimated life in years
Using the entries in the diagram below:
1000 – 0 = $250 per year to be depreciated
4
Double-declining formula:
Double the straight-line rate and multiple the result times the remaining balance
for every year until the last year of useful life.
For example, assume that using illustration of the straight-line method above
results in 25% depreciation per year.
1 / 4 years = 25%
The double-declining balance method results in 50% depreciation per year (twice
the straight-line rate).

Thus,
Depreciation Year #1:
Initial cost year #1 = $1,000
Amount of depreciation = $500 (which is 50% x $1,000)
The balance to be depreciated over the next 3 years is $500 ($1,000 initial
cost – $500 depreciation in year 1)
Depreciation Year #2:
Remaining cost to depreciate $500
Amount of depreciation = $250 (which is 50%x $500)
The balance to be depreciated over the next 2 years is $250 ( $500 – 250)
Depreciation Year #3:
Remaining cost to depreciate $250
Amount of depreciation = $125 (which is 50%x $250)
The balance to be depreciated over the next 2 years is $125 ( $250 – 125)
Depreciation Year #4:
Remaining cost to depreciate $125
Since this is the last year of depreciation, the remaining $125 is
depreciated.

3. Note that in your output, you must indicate the remaining balance of the item at the beginning of the year,followed by the amount of depreciation to be taken during the year, and finally followed by the totalamount of accumulated depreciation on the asset since its purchase.

4. Make sure you use good software design principles, such as clearing the listbox after a user clicks a button but before new results are displayed.

Assignment 6

The figures below show the output of a Visual Basic program that displays information about Bachelor degrees conferred in 1981 and 2006, the percentage of change, and a histogram for the 2006 data. Create this program using arrays. The program should allow a user to display any of these tables as an option and to quit as a fourth option. The first table is ordered alphabetically by field of study. The second table is ordered by decreasing percentages, and the last table is ordered by increasing number of degrees.

Deliverables

  1. Write a Visual Basic program that displays the information below.
  2. Do not prompt the user to enter the degree information.
  3. Use the information below to populate your arrays.
  4. Use a DataGridView control to display the data.
  5. Order the data as described above.
  6. Use appropriate software development guidelines, such as clearing the grid before populating it with new data when a button is clicked and including a title on the form.

Note: The histogram displays one asterisk for every 10,000 degrees conferred.

Assignment 7

Create and Maintain Telephone Directories

Write a Visual Basic program to create and maintain telephone directories. Each telephone directory should be contained in a separate text file. In addition, a file named Directories.txt should hold the names of the telephone directories. At any time, names of all the telephone directories should be displayed in a list box. After a telephone directory is selected, it becomes the current phone directory. The following buttons should be available.

  1. Create a new telephone directory. (The filename should be provided by an input dialog box.) A new text file should be created for the directory, and the name of the new directory should be added to the Directories.txt file. The Phone Directories listbox should immediately be refreshed to reflect the new directory, and the new directory should be automatically selected from the listbox. Note that this selection should trigger the procedure that sets the current directory and updates the contents of the current directory textbox. Also note that the list of directories is displayed in ascending order in the listbox.
  2. Add a listing (as given in textboxes) to the end of the current phone directory. This action should update the text file containing the listings of the current directory and refresh the grid to display the newly added listing.
  3. Delete a name (as specified in the “Name” text box) from the current phone directory. This action should update the text file containing the listings of the current directory. As is good software development practice, you should prompt the user with a messagebox that allows him to confirm the deletion before any permanent action is taken to delete the entry from the file. The grid should also refresh to show the removal of the listing.
  4. Display the names and phone numbers in the current phone directory. (Note that the listings are displayed in ascending order in the table.)

Design your form as depicted in the diagram below.

Helpful hints:

  1. The text files needed for this assignment should be placed in the bin\debug folder of the project.
  2. When the form opens, populate the directories listbox with the names of the directories.
  3. Use an array and IO.ReadAllLines to populate the array with the list of directories.
  4. Use the StreamWriter in conjunction with IO.File.AppendText and IO.File.CreateText to append new directories and create new text files. (Note: You will need to use the WriteLine method to write the name of the new file to Directories.txt.)
  5. When the user clicks the Create a New Phone Directory button, prompt him to enter the name using an InputBox. If the user fails to enter a name, display a message to him (i.e. “Invalid directory name”), and do not proceed to create a new directory. If the operation is successful, make the new directory the current directory.
  6. Before adding a new directory, make sure it doesn’t already exist. You may find it helpful to use Array.IndexOf in your check.
  7. To display the contents of the directories file, use a LINQ query. Loop over all of the items in the query, using a “For each” statement to populate the listbox.
  8. Before displaying the contents of the directories file, make sure the file exists first. You will need to use the IO.File.Exists method in your check.
  9. Use good programming practices by clearing the listbox and table before refreshing them when a change is made that affects their contents.
  10. Remember to close the files after accessing them.
  11. To remove a listing from a directory, you may find this code helpful as it selects only those records in the file that are not the one the user wants to remove. The code should then write the results of this query back to the file:

Dim query = From line In IO.File.ReadAllLines(fileName)

            Let name = line.Split(","c)(0)

Let phoneNum = line.Split(","c)(1)

            Where name <> txtName.Text

                        Select name & "," & phoneNum

IO.File.WriteAllLines(fileName, query.ToArray)

            EndWhile

  1. Use a DataViewGrid control to display the contents of a specific directory.
  2. Include appropriate error checking (i.e. check for blank names, phone numbers, etc.)
  3. Use appropriate naming conventions for all controls.

Assignment 8

Inventory Control

Write a menu-driven multiform inventory program for a bookstore with data saved in a text file. Each record of the text file should consist of 5 fields—titleauthorcategory (fiction or nonfiction)wholesale price, and number in stock. At any time, the program should display the titles of the books in stock in a listbox. The user should have the option of displaying either all titles or just those in one of the two categories. The user should be able to add a new book, delete a book, or alter any of the fields of a book in stock. The adding and editing processes use the second form, frmDetails. At any time, the user should be able to calculate the total value of all books, or the total value of the books in either category. The menu item File contains the two second-level menu items Save and Exit. The menu items Display and Values each contain the three second-level menu items AllFiction, and Nonfiction. (Note: Store the data about the books in an array of structures.)

Helpful Hints

  1. The text file, Books.txt. is included in your Instructions folder and should be stored in your project’s bin\debug folder.
  2. You will need only two forms (frmInventory and frmDetails).
  3. All functionality is menu-driven on frmInventory. Note: Make sure a book is selected in the listbox before allowing the user to select Update from the Book menu.
  4. Use appropriate naming conventions for controls and provide good internal documentation.

 This is the text file Books.txt

Left Behind,Lahaye,F,7,11.25

A Tale of Two Cities,Dickens,F,100,8.24

Hang a Thousand Trees with Ribbons,Rinaldi,F,30,16.79

Saffy's Angel,McKay,F,20,8.22

Each Little Bird that Sings,Wiles,F,10,7.70

Abiding in Christ,Murray,N,3,12.20

Bible Prophecy,Lahaye and Hindson,N,5,14.95 Captivating,Eldredge,N,12,16

Growing Deep in the Christian Life,Swindoll,N,11,19.95

Prayers that Heal the Heart,Virkler,N,4,12.00

Grow in Grace,Ferguson,N,3,11.95

The Good and Beautiful God,Smith,N,7,11.75

Victory Over the Darkness,Anderson,N,12,16

Assignment 9

The database Microland.accdb is maintained by the Microland Computer Warehouse, a mail-order computer-supply company. The tables below show data in the three tables in the database. The table Customers identifies each customer by an ID number and gives, in addition to the name and address, the total amount of purchases during the current year prior to today. The table Inventory identifies each product in stock by an ID number and gives, in addition to its description and price (per unit), the quantity in stock at the beginning of the day. The table Orders gives the orders received today. Assume that it is now the end of the day. Write a Visual Basic program that uses the three tables to do the following two tasks:

  1. Display in a listbox the items that are out of stock and those that must be reordered to satisfy today’s orders.
  2. Display in a listbox bills for all customers who ordered during the day. Each bill should show the customer’s name, address, items ordered (with costs), and total cost of the order.

Design your form based on the diagram below.

The database that contains the tables for this assignment is contained within your Instructions folder and should be placed in your project’s bin\debug folder.
Below are the data that are contained in the tables in the database.
(Note: you do not have to reproduce these tables in your Visual Basic program. You should only create the screens shown above.)

 Hints – the hints below are for the “Out of Stock” button function and will hopefully give you some clues as to how you can accomplish the other button’s work.

  1. Create a query1 from the order table to get the itemIDs ordered. You will want to order your query by itemID and use Distinct to eliminate duplicate itemIDs.
  2. Use a for-each loop to go through query1 once per itemID. For each loop you want to do the following:
    1. Create a query2 using the order table Where the itemID in the order table equals the itemID from query1. The purpose of this query is to get the quantities ordered for each itemID.
    2. Use a for-each loop and a variable (let’s call it intTotalOrdered) to iterate through query2 and sum up the quantities ordered for each itemID.
    3. Create a query3 using the inventory table and select those records Where the intTotalOrdered is equal to or greater than the quantity on hand – these are the records that will need to be reordered. Use a Let statement with quantity on hand and intTotalOrdered to determine the reorder quantity. Select the itemID, reorder quantity, and item description.
    4. Print out itemID, reorder quantity, and item description to your list box. Use Math.Abs() on your reorder quantity to convert negative numbers to positive ones.

Assignment 10

Write a Visual Basic program to implement the cash register in the diagram below. The program should have a class called CashRegister that keeps track of the balance and allows deposits and withdrawals. The class should not permit a negative balance. If the user tries to subtract a number that would result in a negative balance, the system should produce a messagebox indicating that the transaction would result in a negative balance, which is not permitted.

Course Project -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

General Background Information:

CMS Systems, Inc. is a company that provides information systems consulting services to companies in the telecom industry in the United States and the United Kingdom.Due to its success, CMS is hoping to expand its operations into other parts of Europe.Despite its large size, CMS currently uses a manual/spreadsheet-based process for maintaining employee and client data.Management has now decided to implement a company-wide application that will keep track of all of its employees’ hours, calculate employee payroll, and produce invoices for clients based on hours worked by employees.

CMS currently employs 1,500 individuals (900 in the US and 600 in the UK) who serve as systems analysts, developers, managers, testers, maintenance engineers, accountants, lawyers, and sales representatives.

The company also has more than 200 clients in the US and UK.Clients can have one or more contracts with CMS to provide a variety of consulting services.For example, a single client might have 1contract for maintenance of an existing system and also have another contract (sometimes called a work order by the sales force) for the development of a new system.

All CMS employees must keep a record of the time they spend working for each client on a weekly basis.Because employees can work for more than one client and perform different functions for each client, CMS utilizes “project management” to keep track of employee assignments to client contracts.Employees can be assigned to work on more than one project at a given time.In fact, it is not unusual for an employee to spend time on two or more different projects within the same day.

Just as a client can have more than one contract with CMS, a contract can consist of more than one project.For example, a contract for the development of a new system could be fulfilled in multiple phases.Phase I could include implementation at one client site using a group of consultants in close proximity to that site.Phase II could include implementation at a different site with a potentially different set of consultants.Both of these phases are considered separate projects, even though they are governed by the same contract.

The number of hours worked for each employee on each project must be recorded on a weekly basis.Employees currently log their time using an Excel worksheet.An example of this worksheet is presented below.Notice that the employee’s supervisor is listed on the worksheet.A supervisoris currently required to approve his/her employees’ timesheets by placing his/her initials beside his/her name.

Deliverable:

For this project, you are required to create the GUI for a timekeeping/payroll system for CMS.

The system should first allow an employee to enter his/her name and record the time he worked on each project for a given week.Using the spreadsheet above as a guideline, the system must allow the user to enter his/her name and the name of his/her supervisor.Next, the user must enter the number of the week for which he is entering time.Assume a maximum of 52 weeks in a year.Make sure the employee enters only a valid week number.

To record an employee’s hours, the user must enter the name of a client, a client’s contract and a project.For each of the 7days in a week, the user must enter hours worked or check a box that indicates the day is a weekend, a holiday, or a vacation day.If the employee fails to enter any hours for a day and fails to check the weekend/holiday/vacation box for that day, the system should warn the user that the given day is missing information.The system should also ensure that if any work hours are entered for a day, the checkbox for that day should NOT be checked.Finally, the system should ensure that a user cannot enter more than 24 hours in a single day.Once the hours are entered, the user should be able to “Submit” his/her hours by clicking a button that will calculate his/her payroll information for the week and display it on the same screen.

This assignment is due by 11:59 p.m. (ET) on Monday of Module/Week 7.

Payroll information is calculated as follows:

All employees are paid for hours worked at a rate of $15 US per hour.If the number of hours worked in the week exceeds 40, the employee is paid time and a half for his/herovertime hours.For example, assume an employee works 50 hours during a week, he will receive (40 X $15) + (10 overtime hours X (1.5 X $15)) = $825.00.If an employee works less than 40 hours in a week, the system should make note of this fact in a label beside the supervisor’s name.

Here is compelete solution for BMIS 208 course and Course Project Final BMIS208 - Visual Basic Programming

My solution contain Visual Basic projects for All weeks, All assignments and Course Project Final.

Please using Visual Studio to open this project.

If you have more question or need help, please contact me via email support@extutorials.com. I will help you any time.

Thank you

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B