Recreate the Word Shift program using Visual Basic.
This program simulates the shifting of an inputted string of characters. see image.
To get an idea of how this program will operate, you will want to download and run the .exe file found in Blackboard entitled: Word Shift Executable.zip. Your program must run and look like "Word Shift Executable.exe". You will probably need to unzip the file before running it.
The following link explains how to unzip files in Windows:
https://support.microsoft.com/en-us/help/14200/windows-compress-uncompress-zip-files
This program must meet the following requirements:
1.When the user types in a string of characters into the upper textbox and types in a positive integer into the lower textbox, the program will left shift (rotate) the string by that amount.
2.The program must be able to shift any string by the number defined in the lower textbox, including strings with empty spaces.
3.The program needs to shift the string using either a loop or a recursive function. Do not use a Visual Basic timer. https://en.wikibooks.org/wiki/Visual_Basic/Loops
4.When the user clicks on the "Clear" button, the following will occur:
a.All textboxes are cleared of data.
b.The label is cleared of data.
c.The focus is placed in the upper textbox
5.If the user leaves the upper textbox empty and clicks the Shift button, an error message will be displayed stating that the input is "Invalid".
6.If the user enters in a negative number or 0 in the lower textbox, an error message will be displayed stating that "The number of shifts needs to be a positive integer".
7.If the user does not enter in a number (such as a letter), an error message will be displayed stating "Invalid number of shifts".
8.If the user clicks on the "Exit" button, the program will close.
You can add additional code in order to meet the above system requirements.
Sample Run 1: No word has been inputted. see image.
Sample Run 2: Nothing has been inputted into the bottom textbox. see image.
Sample Run 3: see image.