Bmis 208 Week 7

In: Computers and Technology

Submitted By unnekulsom
Words 783
Pages 4
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 a listing (as given in textboxes) to the end of the current phone directory. This action should update the text file containing the listings of the current directory and refresh the grid to display the newly added listing.
3. 3. Delete a name (as specified in the “Name” text box) from the current phone directory. This action should update the text file containing the listings of the current…...

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