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 21 to 30 of 163 total

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

Grid  List 

Set Ascending Direction
  1. Advanced Visual Basic 2010 Programming Challenge 3 Winter Sports Rentals

    Advanced Visual Basic 2010 Programming Challenge 3 Winter Sports Rentals

    Regular Price: $20.00

    Special Price: $15.00

    Advanced Visual Basic 2010 Programming Challenge 3 Winter Sports Rentals


    A winter sports rentals store needs an application that will let the user (a store clerk) enter information about each customer’s rental. The user should be able to select multiple equipment items, a rental duration, and insurance. Figure 2-46 shows a sample design, after the user has selected all items and clicked the Calculate button. Include a check box showing that a liability waiver was signed, and let the user input the deposit amount. Use a combo box to list the rental durations, but do not let the user type in an arbitrary duration. When the user clicks the Calculate button, the application should calculate the subtotal, tax, and balance due. Also, use a LinkLabel control (Weather forecast) to display a second form containing a WebBrowser control.


    The form containing the WebBrowser control, shown in Figure 2-47, should display a series of links to weather forecasts for the area near the winter sports rental store. Place a ToolStrip container at the top of the form; it should contain a text box (for entering a Web address), a Go button to navigate to the address typed into the text box, and a Close button that closes the browser window. Note: We do not endorse any particular Web search engine, so you may substitute another of your choosing.


    Error Checking: When the user clicks the Calculate button, make sure that at least one item has been selected from the equipment list box. Also, a rental duration must have been selected, and the Deposit amount must be a positive number. Use the ErrorProvider control to display all error messages. The following rental durations should appear in the combo box: 1 day, 2 days, 3 days, 1 week, 2 weeks.


    Calculations: Each equipment item has a rental rate based on different durations. Create a two-dimensional array containing all possible rental rates. Each row should contain the rental rates for a single item, using the different rental durations. The following first row of the array, for example, contains rental rates for Skis, beginner:
    35,45,80,150,280
    For this equipment, the rates are $35.00 for 1 day, $45.00 for 2 days, $80.00 for 3 days, $150.00 for a week, and $280.00 for 2 weeks. Damage insurance costs 10 percent of the total rental charge before taxes.

    Learn More
  2. POS 409 Week 3 Sorting and Searching C# Program

    POS 409 Week 3 Sorting and Searching C# Program

    Regular Price: $20.00

    Special Price: $15.00

    POS 409 Week 3 Sorting and Searching C# Program


    Create a text file with one record of text data. This text file will be read by the program and the data in the text file will serve as a search term.


    Design, implement, test, and debug a C# program using the following guidelines.


    In the form load event, read the text file you built. This row of data will be a word or phrase that may occur in the data entered on the form (referred to later as "search term"). Convert the text read to uppercase.


    Create a form with textboxes for 10 input fields. Designate the fields in such a way that the user enters specific data (for example, movies, books, names, or sports). The data entered should be of type string.


    Add a button, "Accept Input", to accept the input. In the click event for the button, validate the input and load the input into an array.
    Validate the input by calling a value-returning method. Pass the 10 input fields to the method and return a value to indicate whether or not the data passed validation (for example, you can return a zero if the data passed validation and a 1 if it did not). Validation should consist of checking if data was entered in the field. Notify the user if the data is not valid and stop execution.
    Add a void method that loads the input fields into an array and converts the data in them to uppercase.


    Add another button, "Sort Input", to sort the input data. In the click event for the button, add a void method to do the sorting. In the void method, use the selection sort algorithm presented in chapter 7 to sort the data. After sorting, in the button click event, create a loop to iterate through the array of sorted data and display the data in a listbox on the form.


    Add a final button to the form, "Check Input". In the click event for the button, call a value-returning method. This method will compare the data in the array and the search term (data read in the form load event). Count the number of elements in the array in which the search term is found. Pass the number of times the word or phrase is found back as the value returned. Put the results in a label on the form. For example, if my search term is "the", the label might say "Search term - the - is found 3 times in the input data". The search should count as a match if the search term is only a portion of the array element. For example, if your search term is "the" and the array element is "The Old Man and The Sea", it should count as a match because "the" is contained within the array element. However, you do not need to count all occurrences of the search term in the array element. So, in "The Old Man and The Sea" example, count once, not twice.


    Here is an example. My search term is "the". The array elements are: "The Old Man and The Sea", "Jane Eyre", "Moby Dick", "The Great Gatsby", "MacBeth", "The Iliad and the Odyssey", "Huckleberry Finn", "Catch-22", "To Kill a Mockingbird", and "The Bell Jar". With this data, the program should find 4 occurrences of the search term (those array elements that are underlined).


    The type of application to be developed is a Windows Forms application.


    Please note that the reason the selection sort algorithm is required for this assignment is two-fold. First, it will give you a chance to look at someone else's code and learn it well enough to figure out how to modify it. Second, it will give you additional practice with string handling when you learn how to compare strings. It is not acceptable to try to find another way to sort the data.


    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 text file used in your zip file also.

    Learn More
  3. Penn Foster Graded Project 03784000 GroceryApp

    Penn Foster Graded Project 03784000 Data Types and Application Logic

    Regular Price: $15.00

    Special Price: $12.00

    Penn Foster Graded Project 03784000 Data Types and Application Logic


    OVERVIEW
    You're ready to add further functionality to the GroceryApp project. This project will assess your understanding of using variables, arrays, modules, and procedures. Make sure that you follow all directions completely and verify your results before submitting the project. Remember to include all required components in your solution.


    YOUR PROJECT
    In the grade project for Lesson 1, you created a login form using a Windows Forms Application project in Visual Studio. In this project, you’ll implement the login process.
    Note: The output of this project will be used in the graded project for Lesson 3.


    INSTRUCTIONS
    1. In Visual Studio, load the GroceryApp project that you completed in Lesson 1. If this is not available, then you will need to ask your instructor for the finished Lesson 1 project.
    2. Add a new module to the project.
    a. Right-click the project name in Solution Explorer and choose Add > Module... or choose the Add Module... option in the PROJECT menu.
    b. Type the name Main.vb in the Name text box at the bottom (Figure 22).
    c. Click the Add button.
    3. In the Main module, you will perform the following actions.
    a. Declare a Boolean variable named blnLoggedIn.
    b. Declare two String arrays named arrUsernames and arrPasswords.
    c. Declare a subroutine named Login that accepts two String parameters named username and password.
    d. Declare two functions named VerifyUsername and VerifyPassword. The VerifyUsername function should accept a String parameter named username and return a Boolean value. The VerifyPassword function should accept a String parameter named password and return a Boolean value.
    When this task is completed, the source code editor should contain the code shown in Figure 23.
    4. Save your work.
    5. Use the values Admin, Clerk, and Manager as items in the arrUsernames array. Use the assignment operator and curly braces to modify the declaration as follows:
    Dim arrUsernames() As String = {"Admin", "Clerk", "Manager"}
    6. Use the values P@ssword, pa$$word, and passw0rd as items in the arrPasswords array. Use the assignment operator and curly braces to modify the declaration as follows:
    Dim arrPasswords () As String = {"P@ssword" , "pa$$word" , "passw0rd" }
    7. In the Login subroutine, make sure that the username and password arguments are valid and match.
    a. Set the blnLoggedIn variable to False. This is to ensure that previous attempts are overwritten.
    b. Use an If...Else statement. Using the logical operator And, combine the return value from calling the VerifyUsername and VerifyPassword functions.
    c. If the username and password arguments are valid, then make sure the value in the arrUsernames array matches the value in the arrPasswords array.
    d. If the correct password is specified for the username, then set the blnLoggedIn variable to the value True. If not, then display an error message box.
    e. When the task is complete, the Login function should be defined as follows:
    Sub Login(username As String, password As String)
    blnLoggedIn = False
    If VerifyUsername(username) And VerifyPassword(password)
    Then
    'Find index for username
    Dim userIndex As Integer
    For loopIndex = 0 To arrUsernames.Length - 1
    If arrUsernames (loopIndex) = username Then
    userIndex = loopIndex
    Exit For
    End If
    Next
    'Check for password match
    If arrPasswords (userIndex) = password Then
    blnLoggedIn = True
    Else
    MessageBox.Show("Incorrect password.")
    End If
    End If
    End Sub
    8. Using what you know about search arrays, implement the VerifyUsername and VerifyPassword functions. They should return true if the username or password is found in the arrUsernames or arrPasswords array, respectively.
    9. Save your work.
    10. In the LoginForm.vb, find the subroutine btnLogin_Click.
    a. You can either right-click on the LoginForm.vb file in Solution Explorer and choose the View Code option in the context menu or double-click on the LoginForm.vb file in Solution Explorer and doubleclick on the Login button on the form.
    b. Navigate to the btnLogin_Click subroutine.
    11. Modify the contents of the btnLogin_Click button.
    a. Call the Login subroutine in the Main module
    b. Use the blnLoggedIn variable to determine whether to display the message box.
    c. The btnLogin_Click subroutine should resemble the following:
    You should get an error message using the blnLoggedIn variable. In the next lesson, you’ll be introduced to access modifiers, but for right now, just know that you need to change the Dim keyword to Friend.
    12. Open the Main.vb file and modify the blnLoggedIn declaration as follows:
    Friend blnLoggedIn As Boolean
    13. Save your work and debug the application. See what happens when you type in an incorrect username andpassword.
    14. Make sure the application works as intended.
    Main.Login(txtUsername.Text , txtPassword.Text)
    If Main.blnLoggedIn Then
    MessageBox.Show("Thank you for logging in, " & txtUsername.Text , "Logged In. ")
    Me.Close()
    End If


    SUBMISSION GUIDELINES
    To submit your project, you must provide the following two files:
    - Main.vb
    - LoginForm.vb
    To find these files, you should go to directory where you saved the GroceryApp project. To open the project directory, right-click on GroceryApp in the Solution Explorer panel and choose the Open Folder in File Explorer option in the context menu (Figure 24).
    Copy both the Main.vb and LoginForm.vb files to your desktop or any other temporary location.


    Your project will be graded using the following guidelines:
    The code contains the correct
    variables and procedures 60 points
    The logic of the procedures is correct 20 points
    The Login button works as expected 10 points
    Both source code files are included 10 points
    TOTAL 100 points

    Learn More
  4. Penn Foster Graded Project 03783900 GroceryApp

    Penn Foster Graded Project 03783900 Visual Basic and the Visual Studio Environment

    Regular Price: $12.00

    Special Price: $10.00

    Penn Foster Graded Project 03783900 Visual Basic and the Visual Studio Environment


    OVERVIEW
    Now you're ready to work on your first Visual Studio solution. This project will assess your understanding of Visual Basic and the Visual Studio Environment. Make sure that you follow all directions completely and verify your results before submitting the project. Remember to include all required components in your solution.


    YOUR PROJECT
    For your first project, you'll create a login form using a Windows Forms Application project in Visual Studio. The login form will prompt the user for a username and password. This form is a high-fidelity prototype that will provide a default message if the user clicks the OK or Cancel buttons.
    Note: The output of this project will be used in the graded project for Lesson 2.


    INSTRUCTIONS
    1. In Visual Studio, create a new Windows Forms Application project named GroceryApp. Review the Try It Out exercises in Chapter 1 of your textbook if you need a reminder of how to perform this step.
    2. Rename Form1.vb to LoginForm.vb. You can use either the Properties panel or right-click Form.vb in the Solution Explorer panel and choose the Rename option.
    3. Add two Label, two TextBox, and two Button controls to Form1.
    4. Modify the design-time properties of the form and its controls using the information in Table 1.
    Table 1
    LoginForm Text Please Login
    LoginForm Size 300,125
    Label1 (Name) lblUsername
    Label1 Text Username:
    Label2 (Name) lblPassword
    Label2 Text Password:
    TextBox1 (Name) txtUsername
    TextBox2 (Name) txtPassword
    Button1 (Name) btnLogin
    Button1 Text Login
    Button2 (Name) btnCancel
    Button2 Text Cancel
    5. Move the controls to resemble the layout in Figure 16.
    6. In the Click event handler for the btnLogin control, add the following statement:
    MessageBox.Show("Thank you for logging in, " & txtUsername.Text , "Logged In. ")
    7. In the Click event handler for the btnLogin control, add the statement Application.Exit() to close out of the application.
    8. Save your work and debug the application.
    9. Make sure the application works as intended.


    SUBMISSION GUIDELINES
    To submit your project, you must provide the following two files:
    - LoginForm.vb
    - LoginForm.Designer.vb
    To find these files, go to directory where you saved the GroceryApp project. To open the project directory, right-click on GroceryApp in the Solution Explorer panel and choose the Open Folder in File Explorer option in the context menu (Figure 17).
    Copy both the LoginForm.vb and LoginForm.Designer.vb files to your Desktop or any other temporary location.


    Your project will be graded using the following rubric:
    All controls have correct properties set 70 points
    The Login button displays the correct message box 10 points
    The Cancel button closes out of the application 10 points
    Both source code files are included 10 points
    TOTAL 100 points

    Learn More
  5. POS 408 Week 5 Verion 6 Simple Customer Relationship System

    POS 408 Week 5 Version 6 Simple Customer Relationship System

    Regular Price: $30.00

    Special Price: $20.00

    POS 408 Week 5 Version 6 Simple Customer Relationship System


    Objectives:
    For your Learning Team Final Project, your team plays the role of a consulting company that specializes in rapid application development. A client company wishes to improve their customer data and interactions records. You will create a simple customer relationship system for the organization.


    Use your own organization as a model or an organization with which you are familiar, if possible. Alternatively, you may use a Virtual Organization or a fictitious company.


    In Week Five, the team should have completed building the Visual Basic® application.


    The milestones for the Learning Team Final Project are as follows:
    Week Two
    Design the features of this Visual Basic® application, and mock up a user interface.


    Week Three
    Identify the data type and data range of every data element used in the Visual Basic® application.


    Week Four
    Write the data entry related feature of the Visual Basic® program.
    Design a database in preparation for the program next week.


    Week Five
    Complete the Visual Basic® program by adding a feature to read from and write to a database.

    Learn More
  6. Microsoft VB 2012 Shelly Cashman Chapter 11 Case Programming 2 HISTORY LIBRARY INVENTORY

    Microsoft VB 2012 Shelly Cashman Chapter 11 Case Programming 2 HISTORY LIBRARY INVENTORY

    Regular Price: $20.00

    Special Price: $15.00

    Microsoft VB 2012 Shelly Cashman Chapter 11 Case Programming 2 HISTORY LIBRARY INVENTORY


    Design a Windows application and write the code that will execute according to the program requirements in Figure 11-58 and Use Case Diagram 11-59. Before writing the code, create an event planning document for each event in the program. The completed Windows Form object and other objects in the user interface are shown in Figure 11-60a and Figure 11-60b on page 828.


    Purpose:
    The windows application allows the user to enter a book into a history library inventory. When all books have been entered, the program identifies the number of books entered for each type.


    Program Procedures:
    From a Windows application, a user enters an ISBN, title, and author(s) of a book. The user also identifies the book as a U.S. history book, a European history book, or a world history book. The program identifies the shelf area where the selected book is stored, based on the type of book. A log is kept of all inventory entries and is stored on disk. When the user finishes entering the inventory, the program identifies the number of books the user entered for each type.


    Algorithms, Processing and Conditions:
    1. The user enters the ISBN, the title, and the author(s) of the book.
    2. The user identifies the book as a U.S. history book, a European book, or a world history book.
    3. Based on the type of book selected, the program displays the book's shelf location. (U.S. history books are stored in Section F, European history books in Section A, and world history book in Section D.)
    4. When the user indicates that all books have been entered, the program displays the number of books entered for each type.
    5. In a comma-delimited text file, the program keeps a log of all books entered. The file should contain the ISBN, the book title, and the author(s).


    Note and Restrictions:
    Validate data that the user enters using accepted standards.


    Comments:
    1. Obtain an image for this program from CenagageBrain.com the name of the picture is library.
    2. The program should use a three-tiered structure with presentation, business, and presistence classes.


    USE Case Definition
    1. The user views the opening screen.
    2. The user enteres the ISBN, the book title, and the book author(s).
    3. The user selects the book category.
    4. The user click the Enter Book button to enter the book into the inventory.
    5. The program displays the shelf location; it also writes a record in the inventory text file.
    6. To enter another book, the user clicks the New Book button.
    7. When finished, the user clicks the Inventory Entry Complete button.
    8. The program displays the number of books entered by category.

    Learn More
  7. POS409 Week 3 Rolling Dice

    POS 409 Week 3 Option B Rolling Dice C# Program

    Regular Price: $15.00

    Special Price: $12.00

    POS 409 Week 3 Option B Rolling Dice C# Program


    Design, implement, test, and debug a C# project to show the frequencies of the sum of two dice for 100 rolls. The program will read the file you created in the dice simulation in Week Two.


    Include the following:
    Declare an array that represents the possible results of throws of two dice. (2, 3, 4, 5, 6, 7, 8, 9, 10, 11 or 12)
    For each entry in the file, increment the element of the array corresponding to that result.
    Last, display the frequency count for that simulation. Show the 11 possible values and the frequency that the sum occurs in your file.


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

    Learn More
  8. POS409 Week 2 Rolling Dice C# Program

    POS 409 Week 2 Rolling Dice C# Program

    Regular Price: $15.00

    Special Price: $12.00

    POS 409 Week 2 Rolling Dice C# Program


    Design, implement, test, and debug a C# program to simulate the rolling of two dice 20 times, and write and read results from a file.


    When the user clicks a Write button, the program will write each die value and the sum of the dice for each roll into a sequential data file.
    After the file is written, the user may click a Read button to read the items back in and display the results.


    Design a GUI for the program that will be intuitive for a novice user.


    Write the code for the program and test the results.


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

    Learn More
  9. POS 409 Week 1 Pets name GUI C# Program

    POS 409 Week 1 Pets name GUI C# Program

    Regular Price: $15.00

    Special Price: $10.00

    POS 409 Week 1 Pets name GUI C# Program


    Design, implement, test, and debug a C# program that displays a pet's name when a button is clicked.


    Create a graphical user interface (GUI) with a button labelled "Pet's name."


    Add three radio option buttons on the form, each representing a different pet name.


    When the Pet's name button is clicked, the program will display the name of the pet selected in the radio option button in a label on the form.


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

    Learn More
  10. POS408 Week 4 Version 6 Enhanced Home Utility Auditing Program

    POS 408 Week 4 Version 6 Enhanced Home Utility Auditing Program

    Regular Price: $15.00

    Special Price: $12.00

    POS 408 Week 4 Version 6 Enhanced Home Utility Auditing Program

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


    The user should be able to do the following:
    • Export the data in the listing area to an external text file.
    • Change default power ratings of a selected appliance.


    The program should do the following:
    • Use arrays or structures where applicable.
    • Read the default power rating for appliances from an external text file.


    Write the code for the program and test the results.
    Zip the files of the project together.
    Submit the zipped file

    Learn More

Items 21 to 30 of 163 total

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

Grid  List 

Set Ascending Direction