|
Uh, it's been a while, but in the button.OnClick function that gets autogenerated when you doubleclick the button in the design view, you just put in <name of the label>.text = "text".
So, like, I have button btnTacos and label lblLunch
sub btnTacos.OnClick( stuff about event args )
lblLunch.text = "I had tacos for lunch."
end sub
That should change the text of lblLunch to "I had tacos for lunch."
It's been goddamn near a decade since I've looked at VB, but I'm pretty sure that's more or less the theory.
Speaking of which, this is kind of basic for VB. Not to denigrate you or anything, but if you don't get it, you might want to talk to your professor.
|