0

I've been wondering this question for a while and my friend recommended me this website, so yeah, I'm new here. I'm trying to learn VB.net but I've found nothing about this. Can anyone help me?

I have a textbox which is read only. Inside the textbox, I have text that says "Checking" (in blue letters) This waits about 20 seconds usually, and then below it it says either "Completed" (green text) or "Failed" (red text) while the checking still remains blue.

Is there a way to do this? Sorry that I'm not explaining stuff the best but I just need help. Thank you!

Obfuscated
  • 105
  • 1
  • 3
  • 10

1 Answers1

0

it will be awesome if you tell us what you actually want to accomplish, since it is not very specific but what I understood you want to wait for 20 seconds for something to be accomplished, so I will recommend System.Threading.Thread.Sleep and there should be a method that allows you to know your process is ready to go. to change the color lblGrade.ForeColor = Color.Orange should do the trick.

Zenoheld
  • 37
  • 1
  • 14
  • I'm making a program that helps users with shortcuts for certain games. I'm trying to add an output if anything goes wrong, and I want the text to be multi colored. – Obfuscated Jan 22 '16 at 18:01