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 166 total

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

Grid  List 

Set Descending Direction
  1. 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
  2. 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
  3. Penn Foster Graded Project 03784200 GroceryApp

    Penn Foster Graded Project 03784200 Graphical User Interface Design for Windows Forms

    Regular Price: $20.00

    Special Price: $15.00

    Penn Foster Graded Project 03784200 Graphical User Interface Design for Windows Forms


    OVERVIEW
    You now have the basic GUI skills to make the GroceryApp project a multiple-form application. This project will assess your understanding of using controls, menus, and handling multiple forms. 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 graded project for Lesson 3, you added grocery classes to the GroceryApp project. In this project, you’ll add a form with controls and menus to allow users to add grocery items to the shopping basket. You’ll also set the startup form and manage the login form.
    Note: You’ll use the output of this project in the graded project for Lesson 5.


    INSTRUCTIONS
    1. In Visual Studio, load the GroceryApp project that you completed in Lesson 3. If this is not available, then you will need to ask your instructor for the finished Lesson 3 project.
    2. Add a new form to the project named GroceryItemForm.
    3. Add controls to GroceryItemForm to the layout shown
    This form contains two menus, four Label controls, two TextBox controls, a NumericUpDown control, a ComboBox control, a GroupBox component, a RichTextBox control, and a Button control.
    Note: See Assignment 10 in Lesson 4 for how to lay out controls.
    1. Modify the design-time properties of the form and its controls using the information in Table 3.
    2. Add the option E&xit to the Application menu.
    3. Add the options A&dd and &View in the Basket menu.
    4. Save your work on GroceryItemForm.vb.
    5. Open the design view of LoginForm.vb.
    6. Set the AcceptButton and CancelButton properties on LoginForm to the buttons btnLogin and btnCancel, respectively.
    7. Set the PasswordChar property to * on txtPassword.
    8. Set the TabIndex property for the two TextBox controls to 0 and 1, respectively.
    9. In the Click event of btnCancel button, end the application.
    10. Save these changes on LoginForm.vb.
    11. Open GroceryItemForm.vb.
    12. In the form’s Load event, display the login form modally and exit the application.
    13. In the Click event of the btnAddToBasket button, perform the following steps:
    a. Create a GroceryItem object using the values from the controls and add it to the basket variable.
    Note: Remember the basket variable is the GroceryBasket collection.
    b. Verify all controls except txtScanNumber contain a value.
    c. Set the value of the txtScanNumber control using the following code:
    t xt ScanNum ber. Text = _txtBrandName.Text.Substring(0,3) & "1019"
    d. Instantiate the GroceryItem class, using the control values.
    e. Use the following expression to set the Aisle property. The expression converts the text into an Aisle enumeration.
    [Enum].Parse(Get Type(Aisle), cboAisle.Text )
    f. Add the GroceryItem object to the basket variable.
    14. In the Click event of the Exit menu item, end the application.
    15. Have the btnAddToBasket_Click method handle the Click event of AddToolStripMenuItem as well.
    16. In the Click event of the View menu item, display all of the items in the basket variable in an informational message box. You need only display the Aisle, ScanNumber and BrandName properties.
    17. Set GroceryItemForm as the startup form.
    18. Save and run the application. Verify that all controls and menus work correctly.
    Note: You don’t need to login successfully to test the application. If you click the Close button in the top right corner of the login form, you can skip the login process. This is by design in this case, but in a real-world application, this would be considered a serious security breach.
    19. Test your work.


    SUBMISSION GUIDELINES
    To submit your project, you must provide the following files:
    - LoginForm.Designer.vb
    - GroceryItemForm.vb
    - GroceryItemForm.Designer.vb


    PREPARE YOUR FILES
    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 45.
    Copy the LoginForm.Designer.vb, GroceryItemForm.vb and GroceryItemForm.Designer.vb files to your desktop or any other temporary location.


    GRADING CRITERIA
    Your project will be graded using the following rubric:
    The GroceryItemForm contains the required controls and layout 40 points
    The GroceryItemForm contains the required application logic 20 points
    The LoginForm has been modified correctly 10 points
    All source code files are included 30 points
    TOTAL 100 points

    Learn More
  4. Penn Foster Graded Project 03784100 GroceryApp

    Penn Foster Graded Project 03784100 Object-Oriented Programming Fundamentals

    Regular Price: $15.00

    Special Price: $12.00

    Penn Foster Graded Project 03784100 Object-Oriented Programming Fundamentals


    OVERVIEW
    You now have the requisite OOP knowledge to expand the logic in the GroceryApp project. This project will assess your ability to create and use classes, collections, enumerations, and runtime exceptions. 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 graded project for Lesson 2, you implemented the login process for a Windows Forms application in Visual Studio. In this project, you’ll add exception handling to that login process. You'll also create a class to represent a grocery item and a custom collection class to represent a grocery basket.
    Note: The output of this project will be used in the graded project for Lesson 4.


    INSTRUCTIONS
    1. In Visual Studio, load the GroceryApp project that you completed in Lesson 2.
    2. Add a new class named LoginException to the project.
    3. Make the LoginException class a custom exception by deriving from the Exception class. See the last assignment in Lesson 3 for an example.
    4. In the Login procedure of the Main module, replace the two lines that read MessageBox.Show("Incorrect password.") with the following code:
    Throw New LoginException
    5. Save your work and debug the application. What happens now when you type in an incorrect password for a valid username?
    6. Stop debugging the application. You’ll now add exception handling code.
    7. Add a Try...Catch statement for the following line in the btnLogin_Click event handler procedure:
    Main.Login(txtUsername.Text, txtPassword.Text)
    8. Add the following line to the Catch block:
    MessageBox.Show("Incorrect password. ")
    9. Save your work and debug the application. It should perform the same action as before.
    10. Add a new public class to the project named GroceryItem.
    11. The GroceryItem class should contain the following public properties:
    a. ScanNumber - Represents the unique serial code for the item on the shelf. This property should be read-only.
    b. BrandName - The name as described on the item’s packaging
    c. Description - A short description of the item
    d. Price - The amount of money it costs to buy the item. Make sure that only positive values can be assigned to this property.
    e. Aisle - This should indicate one of the following aisles: Bakery, CannedGoods, Drinks, Deli, DryGoods, FrozenFoods, and Produce.
    Note: See the second assignment in Lesson 3 for how to create an enumeration.
    12. The GroceryItem class should contain the following public constructors:
    a. A constructor that accepts and sets only the ScanNumber property. Remember: If a property is read-only, then you’ll need to set the variable, not use the property name.
    b. A constructor that accepts and sets the ScanNumber, BrandName and Price properties.
    13. Add a new public class named GroceryBasket to the project.
    n Derive from the generic List class.
    n Ensure that only GroceryItem objects are stored as items.
    14. Add the following variable declaration to the Main module:
    Friend basket As New GroceryBasket
    15. Test your work.
    Note: You can add code to the btnLogin_Click event handler procedure to instantiate the GroceryItem class and add multiple objects to the GroceryBasket variable. Make sure you either remove or comment out this code after testing.


    SUBMISSION GUIDELINES
    To submit your project, you must provide the following five files:
    - Main.vb
    - LoginException.vb
    - LoginForm.vb
    - GroceryItem.vb
    - GroceryBasket.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.
    Copy the Main.vb, LoginForm.vb, LoginException.vb, GroceryItem.vb and GroceryBasket.vb files to your desktop or any other temporary location.


    Grading Criteria
    Remember to follow directions and good OOP principles as described in Lesson 3.
    Your project will be graded using the following rubric:
    The LoginException class is defined correctly 20 points
    The Login button correctly uses a Try...Catch statement 20 points
    The GroceryItem class is defined correctly 20 points
    The GroceryBasket class is defined correctly 20 points
    All source code files are included 20 points
    TOTAL 100 points

    Learn More
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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

Items 21 to 30 of 166 total

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

Grid  List 

Set Descending Direction