|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VbCr, VbCrLf, VbLf, VbNewLine etc Not WorkingIf I do something like:
txtAddress.Text = "test1" & vbCrLf & "test2 All I get is: test1[][]test2 The [] represents a character that looks like a rectangle. Why is this? I have another project file I did as part of a tutorial and that works fine, but my main prog doesn't. It's the same if I use Chr(10), Chr(13) etc. I've also tried concatenating the text into a string variable and displaying that in the text box but no effect. have you set the Multiline property of the text box?
Show quoteHide quote "Burning_Ranger" wrote: > If I do something like: > txtAddress.Text = "test1" & vbCrLf & "test2 > > All I get is: > test1[][]test2 > > The [] represents a character that looks like a rectangle. > > Why is this? > > I have another project file I did as part of a tutorial and that works > fine, but my main prog doesn't. It's the same if I use Chr(10), Chr(13) > etc. I've also tried concatenating the text into a string variable and > displaying that in the text box but no effect. > > Burning_Ranger wrote:
> If I do something like: Your TextBox needs to have MultiLine = True in order to display more> txtAddress.Text = "test1" & vbCrLf & "test2 > > All I get is: > test1[][]test2 > > The [] represents a character that looks like a rectangle. > > Why is this? than one line. -- Larry Lard Replies to group please
Data Source with ReportViewer
DataGrid Custom Styles Learning - displaying selection in pictureboxes Null, DBNull, Nothing, VBNullstring Create 30 Day trial version how to avoid broken references when give out projects Help needed using sample RS232 class to read from serial port How display Result from sqlCommand select in the Datagridview Opening a query in MS Access with parameters using VB.net VB05 Express Date/Time Picker control |
|||||||||||||||||||||||