Describe inventory application with keyboard events

Assignment Help Database Management System
Reference no: EM13933268

(Inventory Application with Keyboard Events) Enhance the Inventory application that you developed in Tutorial 4 to prevent the

user from entering input that is not a number. Use keyboard events to allow the user to press the number keys, the left and

right arrows and the Backspace keys. If any other key is pressed, display a MessageBox instructing the user to enter a number

(Fig. 21.34).

533_uu.png

a) Copying the template to your working directory. Copy the directory C: \Exampl es\Tutori al 21\Exerci ses\KeyEventInventory

to your C: \Si mpl yVB2008 directory.

b) Opening the application's template file. Double click KeyEventInventory. sl n in

the KeyEventInventory directory to open the application.

c) Adding the KeyDown event handler for the first TextBox. Use the Class Name and Method Name ComboBoxes to add an

empty KeyDown event handler for the Cartonsper shipment: TextBox.

d) Adding a Select Case statement. Add a Sel ect Case statement to the KeyDown

event handler that uses the Keys enumeration to determine whether a number key, aleft or right arrow, Enter or the Backspace

key was pressed.

e) Adding the Case Else statement. Add a Case El se statement that executes when a key other than a valid one for this

application was pressed. If an invalid key was pressed, clear the TextBox and display a MessageBox that instructs the user to

enter a number.

f) Adding the KeyDown event handler for the second TextBox. Repeat Steps c-e, but this time create a KeyDown event handler

for the Items per carton: TextBox. This event handler should have the same functionality as the one for the Cartons per

shipment: TextBox.

g) Running the application. Select Debug > Start Debugging to run your application.

Try entering letters or pressing the up- and down-arrow keys in the TextBoxes. A

MessageBox should be displayed. Enter valid input and click the Calculate Total

Button. Verify that the correct output is displayed.

h) Closing the application. Close your running application by clicking its close box.

i) Closing the IDE. Close the Visual Basic IDE by clicking its close box.

Attachment:- Tutorial21.zip

Reference no: EM13933268

Questions Cloud

Give some examples of assets other than cash : Give some examples of assets other than cash that are commonly contributed to a business in exchange for stock.
Essay on aboriginal people and government : Do the reading from the following list of readings and write an essay on Aboriginal People and Government in the 20th century and about the segregation, assimilation and resistance.
Describe basic pre-test, post-test experimental design : Briefly describe the basic pre-test, the post-test experimental design, and the Solomon Four-Group design. Do feel that the Solomon Four-Group design. is better than the pre-test and the post-test designs?
Determine maximum height of the knob : Determine the maximum height h which the knob may have without causing the unit to be unstable in the upright position shown. Both parts are made from the same material.
Describe inventory application with keyboard events : (Inventory Application with Keyboard Events) Enhance the Inventory application that you developed in Tutorial 4 to prevent the user from entering input that is not a number. Use keyboard events to allow the user to press the number keys, the left and..
Application of gadamer philosophical hermeneutics : Write articles on the following topics: Teacher action research as Bildung: An application of Gadamer's philosophical hermeneutics to teacher professional development and The Curriculum:what are the basics and are we teaching them.
Theme of resurrection : 1- " Women were given bad press by the Old Testament Writers/Editors" Do you agree? 2- The theme of Resurrection was a strange religious concept to the Old Testament Believer. Discuss
How does health information technology impact patient care : Identify an area for improvement within a healthcare organization that can be addressed with health information technology. Topic of choice is: How does health information technology impact the quality of patient care
Proposition with reference to at least three films : "Hollywood" cinema is wrought by a tension within the system, that between commerce and art. As such, the "genius of the system" (to use Schatz's phrase) is a confluence of ideological and aesthetic modes of representation. Discuss this propositio..

Reviews

Write a Review

Database Management System Questions & Answers

  Develop a normalized database for all the tables

Write the SQL commands to be used to create each of the tables that you would included in the creation of the database for SFV. Assume you own constraints and data verifications -  Develop a normalized database for all the tables and you should sho..

  Write a sql query that finds all the job classifications

Write a SQL query that joins two tables in the example database and uses LIKE to restrict record selection. (Use telephone area codes to restrict data.)

  What is the total i/o cost for sorting this file

How many sorted subfiles will there be after the initial pass of the sort, and how long will each subfile be?

  What is candidate key and database is a set of one or more

question 1a candidate key isrequired to be unique.used to represent rows in relationships.a candidate to be the primary

  Provide an relational schemas

Find the names and company names of all employees sorted in ascending order of company name and descending order of employee names of that company.

  Database management systems

An automotive service center or dealer wants to improve its services by using database management systems (DBMS) and data mining. What tables are needed in such a database and how could it help improve their services?

  Design supermarket management system

Design supermarket management system with it's problem definition

  Develop a flowchart and provide a brief explanation for it

Develop a flowchart and provide a brief explanation for it

  Develop an entity-relationship diagram as a conceptual mode

For the following requirements analysis description, develop an Entity-Relationship Diagram as a conceptual model that captures all of the requirements to the fullest extent possible.

  Write required sql statements query the database

To analyse and comprehend a given ER diagram and Database schema.  To implement a database based on the given ER diagram and Database scheme. To write required SQL statements query the database

  Explain relational database design and implementation

ISYS 224 Database Systems - Relational Database Design & Implementation

  Creating an er model including entity classes

You will need to start by creating an ER model, including both Entity Classes and attributes. This is to be done in MySQL Workbench

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd