Project #23167 - VISUAL BASIC

ues it in  VISUAL BASIC  2012 with complete programe and zip it

Create a program named Function that does the following:

 

§  A single form with the following information

  • A text box to retrieve a string from the user
  • A combo box with the values “Uppercase” and “Lowercase” ONLY!

§  For example, if the user enter the string “hello” and selects “Uppercase”, they wish to have their string converted to uppercase

 

§  Write a function that does the following:

  • Takes as input a string (The string is obtained using the previously described text box.)
  • Take as input a value of either 1 or 0.  A 1 indicates that the user selected Uppercase, and a zero indicates that user selected Lowercase.
    • HINT: Use the index value of the combo box.
  • Returns a single string to the program.
  • Modifies the string so that it is all uppercase or all lowercase.
  • For example, if the user entered “Hello” selected lowercase, the program would pass “Hello” and 0 to the function and the function would return “hello". 

§  if the user entered “Welcome” selected uppercase, the program would pass “Welcome” and 1 to the function the function would return “WELCOME". 

 

§  The program should display the resulting string in a message box.

  • The message box should ask the user if the string is correctly formatted.
  • If the user says it is correct, the application should end.
  • If the user says it is not correct, the text box should be cleared.
  • If the user cancels the message box, the application should do nothing (should not end the program or clear the text box.)

 

 

 

Subject Computer
Due By (Pacific Time) 02/20/2014 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy