vb.net - VB - Change application text with button -


i want button1 change text of form1 "my application name" "my application name2" click of button.

what i've tried:

form1.text = (textbox1.text) 

but no luck.

any help?

you cannot can change form name @ run time. name of form can want, must stay same throughout. can't imagine why ever want change name in runtime not visible users. form's caption on other hand completly different thing, adressed in @matzone's answer.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -