Form Banner Text problem

Onamission71

Member
Joined
Jul 8, 2009
Messages
14
Programming Experience
Beginner
When in design view I can change the text displayed in the banner of the form(next to the icon) but when I build the code and test the form doesn't have the text displayed??
It's probably an easy fix but I just can't work it out can someone help please? I'm using VB express 2008
 
Problem solved! I was using "Dim Text As String" for displaying text in a textbox and VB.Net obviously doesn't like using TEXT as a varible.
 
It's not that it doesn't like Text as a variable name but if you use the same name for a variable as you have for an existing property then the results can be unpredictable. You need to think about what names are already in use when naming your own types, etc.
 
Back
Top