Bmis 208 Week 8

In: English and Literature

Submitted By alexmicane3
Words 444
Pages 2
HELPIDO.COM

----------------------------------------------------------------

FOLLOW THE LINK TO GET THE TUTORIAL

http://helpido.com/bmis-208-week-8-write-a-menu-driven-multiform-inventory-program-for-a-bookstore-with/

----------------------------------------------------------------

BMIS 208 WEEK 8
________________________________________
BMIS 208
Programming Assignment 8 Instructions
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—title, author, category (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 Saveand Exit. The menu items Display and Values each contain the three second-level menu items All, Fiction, and Nonfiction. (Note: Store the data about the books in an array of structures.)
Helpful Hints
1. 1. The text file, Books.txt. is included in your Instructions folder and should be stored in your project’s bindebug folder.
2. 2. You will need only two forms (frmInventory and frmDetails).
3. 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. 4. Use appropriate naming conventions for controls and provide good internal…...

Similar Documents

Bmis 208 Week 7

...HELPIDO.COM ----------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-7-write-a-visual-basic-program-to-create-and-maintain-telephone/ ----------------------------------------------------------------- BMIS 208 WEEK 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. 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. 2. Add......

Words: 783 - Pages: 4

Bmis 208 Week 8

...HELPIDO.COM ---------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-8-write-a-menu-driven-multiform-inventory-program-for-a-bookstore-with/ ---------------------------------------------------------------- BMIS 208 WEEK 8 ________________________________________ BMIS 208 Programming Assignment 8 Instructions 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—title, author, category (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 Saveand Exit. The menu items Display and Values each contain the three second-level menu items All, Fiction, and Nonfiction. (Note: Store the data about the books in an array of structures.) Helpful Hints 1. 1. The text file, Books.txt. is included in your......

Words: 444 - Pages: 2

Bmis 208 Week 8

...HELPIDO.COM ---------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-8-write-a-menu-driven-multiform-inventory-program-for-a-bookstore-with/ ---------------------------------------------------------------- BMIS 208 WEEK 8 ________________________________________ BMIS 208 Programming Assignment 8 Instructions 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—title, author, category (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 Saveand Exit. The menu items Display and Values each contain the three second-level menu items All, Fiction, and Nonfiction. (Note: Store the data about the books in an array of structures.) Helpful Hints 1. 1. The text file, Books.txt. is included in your......

Words: 444 - Pages: 2

Bmis 208 Week 8

...HELPIDO.COM ---------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-8-write-a-menu-driven-multiform-inventory-program-for-a-bookstore-with/ ---------------------------------------------------------------- BMIS 208 WEEK 8 ________________________________________ BMIS 208 Programming Assignment 8 Instructions 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—title, author, category (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 Saveand Exit. The menu items Display and Values each contain the three second-level menu items All, Fiction, and Nonfiction. (Note: Store the data about the books in an array of structures.) Helpful Hints 1. 1. The text file, Books.txt. is included in your......

Words: 444 - Pages: 2

Bmis 208 Week 9

...HELPIDO.COM -------------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-9-the-database-microland-accdb-is-maintained-by-the-microland/ -------------------------------------------------------------------- BMIS 208 WEEK 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...

Words: 526 - Pages: 3

Bmis 208 Week 9

...HELPIDO.COM -------------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-9-the-database-microland-accdb-is-maintained-by-the-microland/ -------------------------------------------------------------------- BMIS 208 WEEK 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...

Words: 526 - Pages: 3

Bmis 208 Week 7

...HELPIDO.COM ----------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-7-write-a-visual-basic-program-to-create-and-maintain-telephone/ ----------------------------------------------------------------- BMIS 208 WEEK 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. 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. 2. Add......

Words: 783 - Pages: 4

Bmis 208 Week 7

...HELPIDO.COM ----------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-7-write-a-visual-basic-program-to-create-and-maintain-telephone/ ----------------------------------------------------------------- BMIS 208 WEEK 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. 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. 2. Add......

Words: 783 - Pages: 4

Bmis 208 Week 7

...HELPIDO.COM ----------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-7-write-a-visual-basic-program-to-create-and-maintain-telephone/ ----------------------------------------------------------------- BMIS 208 WEEK 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. 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. 2. Add......

Words: 783 - Pages: 4

Bmis 208 Week 8

...HELPIDO.COM ---------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-8-write-a-menu-driven-multiform-inventory-program-for-a-bookstore-with/ ---------------------------------------------------------------- BMIS 208 WEEK 8 ________________________________________ BMIS 208 Programming Assignment 8 Instructions 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—title, author, category (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 Saveand Exit. The menu items Display and Values each contain the three second-level menu items All, Fiction, and Nonfiction. (Note: Store the data about the books in an array of structures.) Helpful Hints 1. 1. The text file, Books.txt. is included in your......

Words: 444 - Pages: 2

Bmis 208 Week 7

...HELPIDO.COM ----------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-7-write-a-visual-basic-program-to-create-and-maintain-telephone/ ----------------------------------------------------------------- BMIS 208 WEEK 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. 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. 2. Add......

Words: 783 - Pages: 4

Bmis 208 Week 7

...HELPIDO.COM ----------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-7-write-a-visual-basic-program-to-create-and-maintain-telephone/ ----------------------------------------------------------------- BMIS 208 WEEK 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. 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. 2. Add......

Words: 783 - Pages: 4

Bmis 208 Week 8

...HELPIDO.COM ---------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-8-write-a-menu-driven-multiform-inventory-program-for-a-bookstore-with/ ---------------------------------------------------------------- BMIS 208 WEEK 8 ________________________________________ BMIS 208 Programming Assignment 8 Instructions 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—title, author, category (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 Saveand Exit. The menu items Display and Values each contain the three second-level menu items All, Fiction, and Nonfiction. (Note: Store the data about the books in an array of structures.) Helpful Hints 1. 1. The text file, Books.txt. is included in your......

Words: 444 - Pages: 2

Bmis 208 Week 8

...HELPIDO.COM ---------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-8-write-a-menu-driven-multiform-inventory-program-for-a-bookstore-with/ ---------------------------------------------------------------- BMIS 208 WEEK 8 ________________________________________ BMIS 208 Programming Assignment 8 Instructions 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—title, author, category (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 Saveand Exit. The menu items Display and Values each contain the three second-level menu items All, Fiction, and Nonfiction. (Note: Store the data about the books in an array of structures.) Helpful Hints 1. 1. The text file, Books.txt. is included in your......

Words: 444 - Pages: 2

Bmis 208 Week 9

...HELPIDO.COM -------------------------------------------------------------------- FOLLOW THE LINK TO GET THE TUTORIAL http://helpido.com/bmis-208-week-9-the-database-microland-accdb-is-maintained-by-the-microland/ -------------------------------------------------------------------- BMIS 208 WEEK 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...

Words: 526 - Pages: 3