VB/C#

Need Help in Visual Basic and C# Assignments?
We can help you if you are having difficulty with your Visual Basic Assignment. Just email your assignments at support@assignmentcache.com.
We provide help for students all over the world.

Items 1 to 10 of 162 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Descending Direction
  1. POS 408 Week 3 Home Utility Auditing Program With Application List

    POS 408 Week 3 Version 6 Simple Home Utility Auditing Program

    Regular Price: $15.00

    Special Price: $12.00

    POS 408 Week 3 Version 6 Simple Home Utility Auditing Program


    Design, implement, test, and debug a Visual Basic® program to create an enhanced home utility auditing program based on Week Two.


    The user should be able to do the following:


    Enter the cost per kilowatt-hour.
    Select from a list of home appliances which includes a washer, among other appliances.
    Enter the power needed in kilowatts (kW) for the selected appliance.
    Enter the number of hours used per day for the selected appliance.
    If the washer is selected, enter both the number of gallons of water used by the washer per hour and the cost per gallon.


    The program should do the following:
    Validate that the data entered has the correct format, and is within a reasonable range.
    Calculate and display the cost for operating a home appliance as soon as the data is entered.


    Create a listing area to display each of the following for each appliance entered:
    Home appliance
    Number of hours per day
    Cost
    Display and update the total cost of all appliances, as soon as a new entry is added to the listing area.
    Write the code for the program and test the results.


    Zip the files of the project together.


    Submit the zipped file.

    Learn More
  2. Advanced Visual Basic 2010 Chapter 4 Programming Challenge 4 Advanced Karate Member Dates

    Advanced Visual Basic 2010 Chapter 4 Programming Challenge 4 Advanced Karate Member Dates

    Regular Price: $12.00

    Special Price: $10.00

    Advanced Visual Basic 2010 Chapter 4 Programming Challenge 4 Advanced Karate Member Dates


    Enhance the program you created in Programming Challenge 3 by giving the user a choice between displaying members who have joined before a given date and members who have joined on or after the given date. Figure 4-71 shows members who joined before 6/30/2007. Figure 4-72 displays a list of members who joined on or after the same date.
    You might want to create two queries, one for each type of search. At runtime, when the user switches between the radio buttons, the event handlers can call either of the two Fill methods that you created in the TableAdapter.

    Learn More
  3. Advanced Visual Basic 2010 Chapter 4 Programming Challenge 3 Karate Member Dates

    Advanced Visual Basic 2010 Chapter 4 Programming Challenge 3 Karate Member Dates

    Regular Price: $12.00

    Special Price: $10.00

    Advanced Visual Basic 2010 Chapter 4 Programming Challenge 3 Karate Member Dates


    Create a program that uses the Members table of the Karate database. Let the user select a date from a DateTimePicker control. The program must display all members who joined before the selected date (see Figure 4-70). Use a parameterized query.

    Learn More
  4. POS 409 Week 4 Display Employees

    POS 409 Week 4 Employees C# Program

    Regular Price: $15.00

    Special Price: $12.00

    POS 409 Week 4 Employees C# Program


    Create a class called Employee that will include the attributes of all employees of your organization. Include at least five attributes. If you are not currently working, you may use a fictional organization or one with which you are familiar.


    Add a second class that inherits from the Employee class and describes a subgroup of employees. For example, you may define the class as Managers. In the case of city employees, you may define the class as Police Officers. Define at least three attributes that are specific to this subclass.


    Design, implement, test, and debug a C# program that asks the user to enter attributes for members of the subclass on a single form. The entries will include fields for the attributes of the main Employee class as well as the subclass. Include a second form that will display a cumulative list of all the employee data that the user has entered.


    Add a button that will exit the program.
    you name, date, project description and class must be in the code as comments (similar to an APA title page).
    Your project must be properly documented (describe the use of variables, describe how a function or routine works, use proper naming conventions for variables and labels)


    Zip all files of the project together and submit the zipped file.

    Learn More
  5. CIS 170 Week 5 iLab 5 of 7 Tournament Stats

    CIS 170 Week 5 iLab 5 of 7 Tournament Stats and Alphabetical Order Program

    Regular Price: $15.00

    Special Price: $12.00

    CIS 170 Week 5 iLab 5 of 7 Tournament Stats and Alphabetical Order Program


    Part A: Tournament Stats


    Requirements
    Your mission: Write a program to determine statistics for a video game tournament. The user will input names and scores of all tournament players. The program will calculate the average score and display the players who scored below average.


    The program will implement these functions:
    • Main(): Declares variables for the number of players and average score, and two arrays of size 100: one to store player names and the other to store their respective scores. Calls the following functions in sequence, passing necessary parameters by reference:
    InputData( ): Gets player names and scores from the user and stores them into the two arrays for an unknown number of players up to 100.
    DisplayPlayerData(): Displays each player’s name and score.
    CalculateAverageScore( ): Calculates the average score and returns it by value.
    DisplayBelowAverage( ): Displays the names and scores of players who scored below average.


    Sample output:
    Enter Player Name (Q to quit): Bob
    Enter score for Bob: 3245
    Enter Player Name (Q to quit): Sue
    Enter score for Sue: 1098
    Enter Player Name (Q to quit): Dave
    Enter score for Dave: 8219
    Enter Player Name (Q to quit): Pat
    Enter score for Pat: 3217
    Enter Player Name (Q to quit): Q


    Name Score
    Bob 3245
    Sue 1098
    Dave 8219
    Pat 3217


    Average Score: 3944.75
    Players who scored below average


    Name Score
    Bob 3245
    Sue 1098
    Pat 3217


    Press any key to continue . . .
    Tips
    Best practices: Don’t try to write too much at a time! First, write an outline in comments based on the requirements and the pseudocode. Then, implement each function one at a time. Start each by writing a shell that just accepts data and perhaps prints it out for testing purposes. Test by calling the function from Main(). Then, add more functionality. Keep working incrementally, compiling and testing as you go. Set breakpoints and use the debugger at each phase to make sure your logic is working correctly. Then, use the same approach to implement each of the other functions.
    Pseudocode
    • Main Function
    Declare player and score arrays, and variables for number of players and average score.
    Call the InputData( ) function, passing arrays and number of players variable by reference
    Call the DisplayPlayerData( ) function, passing arrays and number of players variable by reference
    Call the CalculateAverageScore( ) function, passing arrays and number of players by reference. Store returned value in average variable.
    Display the average score
    Call the DisplayBelowAverage( ) function, passing arrays and number of players variable by reference, passing average variable by value


    • InputData function
    Loop while the number of players is less than the length of the array
    Prompt for the player’s name
    If the user entered Q, break out of the loop
    Prompt the user for the player’s score
    Add 1 to the number of players


    • DisplayPlayerData function
    Loop to display the name and score of each player


    • CalculateAverageScore function
    Loop to add up the scores
    Divide by the number of players to calculate the average score
    Return the average score to main


    • DisplayBelowAverage function
    Loop to display the names and scores of all players who scored below the average score


    END OF PART A



    Part B: Alphabetical Order
    Requirements
    Your mission: Write a program to alphabetize a list of last names. The user will input an undetermined number of last names. The program will display the number of names entered and alphabetized lists of the names in ascending (A-Z) and descending (Z-A) order.


    Your program will store the names in an ArrayList object. It will use various ArrayList properties and methods to implement the program requirements.
    Sample output:


    Enter a last name: Roberts
    Keep going? (Y/N): y
    Enter a last name: DeLay
    Keep going? (Y/N): y
    Enter a last name: Foreman
    Keep going? (Y/N): y
    Enter a last name: Ganguly
    Keep going? (Y/N): n
    4 last names entered


    Names in Ascending Order
    DeLay
    Foreman
    Ganguly
    Names in Descending Order
    Roberts
    Ganguly
    Foreman
    DeLay


    Tips
    Best practices: Don’t try to write too much at a time! First, write an outline in comments based on the requirements and the pseudocode. Then, work on instantiating an ArrayList object, followed by implementing the loop that will get user input. As always, keep things simple and implement incrementally. Review the list of ArrayList methods and properties in the textbook and experiment with the ones you think you’ll need.
    Pseudocode
    • Main function
    • Instantiate ArrayList object
    • Loop to get last names, until user wants to quit
    o Add each last name to the ArrayList
    • Display the count of the last names
    • Sort the ArrayList
    • Loop to display the names
    • Reverse the order of the ArrayList
    • Loop to display the names
    END OF LAB

    Learn More
  6. POS 409 Week 5 Database Application

    POS 409 Week 5 Database Application

    Regular Price: $20.00

    Special Price: $15.00

    POS 409 Week 5 Database Application


    Build a SQL Server database in your Visual Studio project. Add a table in the database using the properties of the classes you defined in Week Four as your fields. Populate the table with at least five records. The table can be manually populated within Visual Studio instead of populated in a programmatic manner.


    Design, implement, test, and debug a C# program to access the database and display the entries in a DataGridView. As with prior weeks, remember to utilize the concepts described in the weekly reading to complete the project. The type of application to be developed is a Windows Forms application.


    Use SQL to create two queries in the table adapter on the form. For the first query, sort the data in the DataGridView by one of the fields in the table. Create a button on the form to execute the query to sort the data. For the second query, use one of the fields on the form in a Where clause to only display a subset of data in the DataGridView. For example, if one of the fields in the table is QuantityOnHand, you could have the query display only records where QuantityOnHand is greater than a particular amount. Create another button on the form to execute the query to display a subset of the data using the second query.


    Include identifying information in the form of block comments at the top of each class in the project (programmer name, date, program description). Include adequate comments throughout the program, utilize meaningful names for controls, variables, fields, and forms. Include white space for readability purposes in the code. The focus of the project is on learning the C#.Net syntax. However, ensure the form is simple and easy to understand for the user. Refer to the Individual Assignment grading form to view grading criteria.


    Zip the files of the project together and submit the zipped file. Include the database in your zip file also.

    Learn More
  7. Advanced Visual Basic 2010 Student Course Collection

    Advanced Visual Basic 2010 Programming Challenge 7 Student Course Collection

    Regular Price: $20.00

    Special Price: $15.00

    Advanced Visual Basic 2010 Programming Challenge 7 Student Course Collection


    Create an application that collects information about students and the courses they have completed, and holds this information in collection, implemented as a List or ArrayList object. You can use Tutorial 3-2 as a starting point for this project. The main form, displayed when the application starts, should have the same fields as shown in the tutorial.
    A sample of the main form is shown in Figure 3-26.
    In addition, do the following:
    • Create a class named Course with the following properties: CourseId As String, Credits As Integer, Grade As Double.
    • Add a class-level variable to the Student class that holds a list of courses.
    • Create a new form named Course Information that contains the following input
    fields: course ID, credits, and grade. A sample is shown in Figure 3-27. The list box displays all courses in the student’s transcript.
    • On the main form, add a Course Information button. Use this button to display the Course Information form. The button should initially be disabled; it is enabled when the user clicks either the Add to Collection button or the Find by ID button.


    Input Requirements
    The following input requirements are designed to prevent the program from throwing an exception or storing invalid data:
    1. No two Student IDs can be the same.
    2. No input fields can be blank.
    3. The Grade field must be a positive numeric value between 0.0 and 4.0.
    4. The course credits field must be a positive integer between 0 and 6.
    5. A duplicate course number cannot be added to the list of courses.
    6. Error messages must be specific, identifying exactly which field has a missing or incorrect value.
    Each of these requirements is included in the testing steps that we have outlined for this programming challenge.


    Suggestions
    1. In the main form, create a class-level variable of type Student so it can be accessible to different event handlers. This will affect the event handlers for both the Add and Find buttons.
    2. The Student class should have a ReadOnly property that exposes its ArrayList. This will be useful when your program needs to display the courses in a list box or add a new course to the list.
    3. The Form_Load event handler for the Course Information form should fill the list box with the list of courses belonging to the current student. It should also clear all text boxes on the form.
    4. Use the ErrorProvider control to display error messages.

    Learn More
  8. POS 409 Week 4 Inheritance C# Program

    POS 409 Week 4 Inheritance C# Program

    Regular Price: $20.00

    Special Price: $15.00

    POS 409 Week 4 Inheritance C# Program


    Create a base class that will include the properties of some type of data related to the company you work for or a favorite hobby. For example, I work for a healthcare provider, so my base class might be "Medical Facility". Include at least five properties. Be creative with your classes -employee type classes are not acceptable. In addition, include data of a variety of types in your classes.


    Add a second class (derived class) that inherits from the base class and describes a subgroup of the base class. In my example, a derived class might be "Clinic". Define at least three properties that are specific to this derived class.


    Design, implement, test, and debug a C# program that asks the user to enter properties for the classes you have defined on a single form. Enhance the user interface by including two groupboxes. In the first groupbox, place the controls for the base class. In the second groupbox, place the controls for the derived class. The entries will include fields for the properties of the base class, as well as the derived class. Add a second form to your project that will display a cumulative list of all the data that the user has entered. A cumulative list means that if the user enters data for 10 clinics (in my example), then 10 clinics will be viewed on the second form. Please note that it is not acceptable to write the data gathered to a database for presentation of the data on the second form. Databases are a topic for week 5, not this week. Also note that it is not acceptable to use text files as a means of transferring data from one form to the other. Text files were used for the last two assignments, so it is time to try some new techniques. The type of application to be developed is a Windows Forms application.


    As with prior weeks, remember to utilize the concepts described in the weekly reading to complete the project.


    Include identifying information in the form of block comments at the top of each class in the project (programmer name, date, program description). Include adequate comments throughout the program, utilize meaningful names for controls, variables, fields, and forms. Include white space for readability purposes in the code. The focus of the project is on learning the C#.Net syntax. However, ensure the form is simple and easy to understand for the user. Refer to the Individual Assignment grading form to view grading criteria.


    Zip the files of the project together and submit the zipped file.

    Learn More
  9. Advanced Visual Basic 2010 Programming Challenge 5 Client Billing

    Advanced Visual Basic 2010 Programming Challenge 5 Client Billing

    Regular Price: $15.00

    Special Price: $12.00

    Advanced Visual Basic 2010 Programming Challenge 5 Client Billing


    Write an application that tracks the amount of billable time that the user spends on consulting projects. The application reads an input client file and appends information to a billing file, which it creates the first time it runs.


    Startup Form
    Figure 1-24 shows a sample of the main window. When the user begins working on a project, the client name is selected from a ComboBox control. In Figure 1-25, the user has clicked the Start button, so the billing timer is running. Notice that the Start button is disabled. In Figure 1-26, the user has clicked the Stop button. At that moment, the application shows the amount of elapsed time and writes a record to the billing file.

    Learn More
  10. BMIS 209 Programming Assignment 4 SavingsAccount Program

    BMIS 209 Programming Assignment 4 SavingsAccount Program

    Regular Price: $15.00

    Special Price: $12.00

    BMIS 209 Programming Assignment 4 SavingsAccount Program


    Create a class called SavingsAccount. Use a static variable called annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance, indicating the amount the saver currently has on deposit. Provide method CalculateMonthlyInterest to calculate the monthly interest by multiplying the savingsBalance by annualInterestRate divided by 12 – this interest should be added to savingsBalance. Provide static method setAnnualInterestRate to set the annualInterestRate to a new value.


    Write an application to test class SavingsAccount. Create three savingsAccount objects, saver1, saver2, and saver3 with balances of $2,000.00, $3,000.00, and 0.00, respectively. Set annualInterestRate to 4%, then calculate the monthly interest and display the new balances for both savers. Then set the annualInterestRate to 5%, calculate the next month’s interest and display the new balances for both savers.



    Technical Requirements:
    Create SavingsAccount class with static variable annualInterestRate and private instance variables savingsBalance (double) and savingsAccountName (string).
    Create a mutator method to set the savingsAccountName. Call this method setSavingsAccountName. The method should take a string argument and return void.
    Create an accessor method to retrieve the savingsAccountName. Call this method getSavingsAccountName. The method should take no arguments and return a string (i.e. the savingsAccountName).
    Create a mutator method to set the savingsBalance. Call this method setSavingsBalance. The method should take a double argument and return void.
    Create an accessor method to retrieve the savingsBalance. Call this method getSavingsBalance. The method should take no arguments and return a double (i.e. the savingsBalance).
    Include two constructors. The first takes no arguments and sets the savingsBalance variables to zero and sets the savingsAccountName to an empty string by calling the second (i.e. two argument) constructor with 0 and an empty string. The second constructor takes one double argument (the savingsBalance) and one string argument (the savingsAccountName), and sets the savingsBalance by calling the setSavingsBalance method and setSavingsAccountName method, respectively.
    Create CalculateMonthlyInterest method with formula. The method should return void.
    Create setAnnualInterestRate method to take a double argument representing the annualInterestRate and return void.
    Create PrintSavingsAccount method to display the savingsBalance, savingsAccountName, and annualInterestRate for an object. Use the output shown below as a guideline for the display.
    Create a separate class called SavingsAccountTest, which contains the Main() method.
    In the Main() method, create three savingsAccount objects called saver1, saver2, and saver3. Initialize saver1 and saver2 with the balances listed above and the names "Saver_One" and "Saver_Two", respectively. Do not initialize saver3 with anything. Instead, create the object by invoking its zero-argument constructor, which will initialize its balance to 0 and its name to an empty string.
    In the Main() method, call setAnnualInterestRate to set the interest rate to 4%.
    Next, call the setSavingsAccountName for saver3 to set its name to "Saver_Three". Then, call the setSavingsAccountBalance for saver3 to set its balance to $50,000.
    Print the results by calling PrintSavingsAccount for each object.
    Next, call the CalculateAnnualInterestRate method for all three saver objects.
    Print the results again by calling PrintSavingsAccount for each object.
    Next, change the annualInterestRate to 5% by calling the setAnnualInterestRate method.
    Print the results again by calling PrintSavingsAccount for each object.

    Learn More

Items 1 to 10 of 162 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Descending Direction