jayjyli
jayjyli

Reputation: 821

Progress dialog box in VB.NET?

I'm trying to make a simple Windows form app that does things. I'd like a box to show the progress of each step as it's doing these things. Sort of like a console output, except not on the console, but in a display box that is non-interactive to the user. What thing in the VB.NET toolbox do I use?

Upvotes: 0

Views: 2646

Answers (2)

Skindeep2366
Skindeep2366

Reputation: 1559

If you are trying to set the text property of the TextBox just use something like Me.TextBox1.text = "Text here". And TextBox1 refers to the name property which you can set in the properties window of Visual Studio.

If you would like to do it under a progressBar its a little more involved with how you want to progress it. After you drop it on the form though you can set the name property of the progressBar then in your code behind do Me.ProgressBar1.Value = x. Where ProgressBar1 is the Name property again and x is a integer representing the value to set the progressBar to.

Upvotes: 0

sloth
sloth

Reputation: 101072

Maybe you want to use a simple TextBox and make it ReadOnly?

Upvotes: 4

Related Questions