Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

I need help with this because I don't understand it.

$
0
0
I am currently learning VB and I need help with this assignment.

Create a project called WorldWar2.

a. Add a MenuString with the above items. Add an empty ListBox.
b. Add Facts Menu Item
i. Use a For Loop to prompt for five facts about World War 2.
• Use an InputBox to get a fact (set to a string variable).
• Add the fact to the ListBox.
c. Remove Facts Menu Item
i. Use an InputBox to get a fact (set to a string variable) to remove.
ii. Remove the fact from the ListBox.
d. Clear List Menu Item - Use the statement to clear all items.
e. Close Menu Item - Close the application.
f. EXTRA CREDIT – extra 5 points
i. Use a Do While Loop to prompt for as many facts as the user wants to add.
• Create a Boolean variable to hold when to continue (flag)
• Use an If statement with a MessageBox with Yes/No buttons to determine if the user wants to enter a fact.
a. If yes, prompt for the fact (InputBox) and add it to the ListBox.
b. If not, set Boolean flag variable to false.


Image of finished project is supposed to look like this:
http://152.46.13.240/MoodleContent/C...Assignment.JPG

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>