Program 4

 

 

 

Summary: Continue Program 3 to become more powerful in the field. Allow the user to read a file that contains encrypted data. Allow the user to add and delete data.  Present the user two options for saving: A full data set file or a encrypted file.

 

 

 

Required Program Data:

 

 

  1. Crypto.vb: Described and used in Program 3

 

  1. Three encrypted text files. These files are to be used for your testing.

 

 

 

 

Important concepts to know before you start:

 

 

  1. The key to this program is to complete tasks in smaller steps. Don’t get ahead of yourself!

 

    1. Implement Add Item.

 

    1. Implement the file read. When you are starting – you can simply start by reading the file and displaying the file.

 

    1. After you have the file read complete - then, add the decrypted value to the display.

 

    1. Implement the delete

 

    1. Implement the Save Keys

 

 

  1. A File Read example, Page 555.

 

  1. Listview examples:

 

    1. http://dotnetref.blogspot.com/2007/08/using-listview-in-vbnet.html

 

    1. http://vb.net-informations.com/gui/vb.net-listview.htm

 

    1. http://howtostartprogramming.com/vb-net/vb-net-tutorial-44-openfiledialog/

 

    1. http://msdn.microsoft.com/en-us/library/system.windows.controls.openfiledialog.filter%28v=vs.95%29.aspx?cs-save-lang=1&cs-lang=vb#code-snipp

 

 

 

 

 

 

  1. Key Enumeration

 

    1. http://msdn.microsoft.com/en-us/library/system.windows.forms.keys.aspx

 

 

 

 

 

NOTE: If you have to hardcode a path/file name, please know that my configuration *will not* match your personal Windows login. If you must hardcode the path, please hardcode your program path relatively. Meaning, don’t spell the entire path and reference the working directory.

 

 

 

Requirements: See ProgramRubric.xls

 

    • 12 years ago
    Solution
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      ryan_hogge_p4_zip.zip