Create an application that stores data about your DVD collection in a file. The application should have a structure to hold the following fields: Video Name, Year Produced, Running Time, and Rating. The application should allow the user to save the data to a file, search the file for a video by name, and print a report listing all the video records in the file.
Must be original code utilizing standard prefixes/ naming conventions. Utilizing Imports System.IO, StreamWriter Objects, StreamReader Methods, File.CreateText, File.AppendText, WriteLine, Write method, etc
Ofd = OpenFileDialog
Sfd = SaveFileDialog
Print Method and PrintPage event = e.Graphics.DrawString
Format Reports with String.Format, Utilize Structures and ReDim
See figure. See image.
File
Save Record Ctrl+S
Exit Ctrl+X
Search See image.
What the report should look like when printed! See image.
Help
About
See figure. See image.
Sample Data to be used (DOES NOT SHOW IN PROGRAM)
Video Name Year Produced Running Time Rating
Clash of the Titans 2010 118 minutes PG-13
The Pink Panther Strikes Again 1976 103 minutes PG
Constant and Structure at the Class Level
' Class-level constant for the file name.
Const strFILENAME As String = "Videos.txt"
Structure VideoData
Dim videoName As String ' To hold the video name
Dim yearProduced As String ' To hold the year produced
Dim runningTime As String ' To hold the running time
Dim rating As String ' To hold the rating
End Structure