Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CPT 341 Visual Basic.NET Project 2- Spring Semester 2019 Basic Encryption Develop a Windows Forms application that will generate a random key used to shift

image text in transcribed
image text in transcribed
image text in transcribed
CPT 341 Visual Basic.NET Project 2- Spring Semester 2019 Basic Encryption Develop a Windows Forms application that will generate a random key used to shift a string from one character to another. The application must also reverse the shifted characters back to their original characters using the same key. Text is to be entered directly into a textbox or by selecting an existing text file using the OpenFileDialog control Upon application startup, a splash page must be dsplayed for a few seconds to display the application name and version before the Windows Form for encryption. Random number generation, string manipulation and conversion, file VO, sequential text file, OpenFileDialogl) control object, ANS character set, Asc) function, Chr) function, SubString) function, Mod operator, Timer Control, Multiple Forms, arrays, looping Sample Windows Form and Controls Splash Page Picture Box Control_ Splash Page [Windows Form Basic Encpption Label Control Spring Semester, 2019 PictureBox Text in the Clear Label Control Encrypted Text Open a Text File Textbox Control Button Contrel Encrypt Text Decrypt Text Exit Button Exit 1972 Text in the Cle Open a Text File Encrypt Ted Decrypted Texd Decrypt Ted 1 in the source code, make sure to include your name, dass, and date 2 The Windows Form should be easy to undenstand uning appropriate Labell and ToolTip controls to help the uner navigate through the application (see sample Form and sample video Comments should be placed throughout your vB code. Variables and control object naming should follow common naming conventions (see common naming conventions handour) 4 Use Textbox controls to enter the sample data values and to display the solution 5 Use Label controls 6 Display a Splash Page at application startup 7 Provide an Exit Button on the entryption form to shut down the application use Error Handing (Try..catch. .Finany) to account for common errors. For example, user enters ncorect data types ample data textboxes Dsplay a message (using a MigBox) where necessary Use a Picturelox control to display a representative image on the Windows Form 10. Use a ToolTip control to prompt users [for a mouse-over 11 The clear text message is to be stored in a text file (created uting Notepad). The tet can aho be typed directly into the conemponding testbox control a The text-file is to be selected using an OpenFleDialog runtime control object (see the Toolbox) b. Text Se contents are to be displayed in a Textbox control located on the Windows Form [you can aho use this textbox to irput dear-text characters 12. Keys values are to be randomly generated Keys are to be "andonly generated within a ange of O to 100000. Each key digit wel need to be added to the corresponding character to shit it to a new character i. Since there aro a limited number of deti key, your pregam must "wrap-back' to the first digit: ANSI Code Asc) ANSI Code Key Value Crl b. The selected key must be stored in an array 3. Reverve the shited characters back to their original characters using the same key digit Name, class, and date in the source code anding iTry and uning Use of amessage bew idsplay errer condition te the Use of Splash Page Form Use of naming conventions Ino detauit control Use of an Exit Button to Close the application CPT 341 Visual Basic.NET Project 2- Spring Semester 2019 Basic Encryption Develop a Windows Forms application that will generate a random key used to shift a string from one character to another. The application must also reverse the shifted characters back to their original characters using the same key. Text is to be entered directly into a textbox or by selecting an existing text file using the OpenFileDialog control Upon application startup, a splash page must be dsplayed for a few seconds to display the application name and version before the Windows Form for encryption. Random number generation, string manipulation and conversion, file VO, sequential text file, OpenFileDialogl) control object, ANS character set, Asc) function, Chr) function, SubString) function, Mod operator, Timer Control, Multiple Forms, arrays, looping Sample Windows Form and Controls Splash Page Picture Box Control_ Splash Page [Windows Form Basic Encpption Label Control Spring Semester, 2019 PictureBox Text in the Clear Label Control Encrypted Text Open a Text File Textbox Control Button Contrel Encrypt Text Decrypt Text Exit Button Exit 1972 Text in the Cle Open a Text File Encrypt Ted Decrypted Texd Decrypt Ted 1 in the source code, make sure to include your name, dass, and date 2 The Windows Form should be easy to undenstand uning appropriate Labell and ToolTip controls to help the uner navigate through the application (see sample Form and sample video Comments should be placed throughout your vB code. Variables and control object naming should follow common naming conventions (see common naming conventions handour) 4 Use Textbox controls to enter the sample data values and to display the solution 5 Use Label controls 6 Display a Splash Page at application startup 7 Provide an Exit Button on the entryption form to shut down the application use Error Handing (Try..catch. .Finany) to account for common errors. For example, user enters ncorect data types ample data textboxes Dsplay a message (using a MigBox) where necessary Use a Picturelox control to display a representative image on the Windows Form 10. Use a ToolTip control to prompt users [for a mouse-over 11 The clear text message is to be stored in a text file (created uting Notepad). The tet can aho be typed directly into the conemponding testbox control a The text-file is to be selected using an OpenFleDialog runtime control object (see the Toolbox) b. Text Se contents are to be displayed in a Textbox control located on the Windows Form [you can aho use this textbox to irput dear-text characters 12. Keys values are to be randomly generated Keys are to be "andonly generated within a ange of O to 100000. Each key digit wel need to be added to the corresponding character to shit it to a new character i. Since there aro a limited number of deti key, your pregam must "wrap-back' to the first digit: ANSI Code Asc) ANSI Code Key Value Crl b. The selected key must be stored in an array 3. Reverve the shited characters back to their original characters using the same key digit Name, class, and date in the source code anding iTry and uning Use of amessage bew idsplay errer condition te the Use of Splash Page Form Use of naming conventions Ino detauit control Use of an Exit Button to Close the application

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

1. How might volunteering help the employer and the employee?

Answered: 1 week ago