Objective:

To generate a system administrators to-do list that can be modified and saved to a text file.

Inputs:

  • Text file to open for reading
  • User choice: (1-add new to-do item, 2-update existing to-do item, 3- delete existing to-do item, 4-print list of to-do items, 5-quit)

Output:

  • Updated list of to-do items, error messages when appropriate
  • Text file written with updated contents

Specification:

The VBScript program maintains a list of to-do items supplied by a system administrator. It will be called by an HTMLfile in order to make it portable and platform independent (although it only runs under compatibility with Internet Explorer version 9 and earlier).

Input and output will be handled via dialog boxes (inputbox and messagebox, respectively). Each option should be implemented as a separate function within the VBScript file, and selected upon the appropriate choice by the user.

The to-do items will be loaded from an input file and stored in a global array which will be recognized and modified appropriately by each function.

Initially, the program prompts for an input text file to read from. If the file does not exist, it should be created. The program should then loop until the user chooses to quit. If the user enters an illegal status, the program will prompt again for the status input. Upon quitting, the program prompts the user to save the list to an output file with the same name as the original input text file.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.