C
Cindy M -WordMVP-
Hi all
I'm experimenting with the various VB vs NET string
manipulation functions.
If I have a text box in a Windows form, and I set the Text
property to
= szNote.Insert(i, DateString & vbCr)
vs.
= szNote.Concat(DateString, vbCr, szNote)
in the second instance I get black "block" characters
instead of a new line. There are other combinations of
vbCrLf and vbLF that exhibit a similar duality, depending
on whether I use the old Visual Basic Left and Mid
functions. I'm confused
How does one know which character constant to use to get a
new line without the black blocks? Is it just trial and
error, or is there a logical set of rules?
-- Cindy
I'm experimenting with the various VB vs NET string
manipulation functions.
If I have a text box in a Windows form, and I set the Text
property to
= szNote.Insert(i, DateString & vbCr)
vs.
= szNote.Concat(DateString, vbCr, szNote)
in the second instance I get black "block" characters
instead of a new line. There are other combinations of
vbCrLf and vbLF that exhibit a similar duality, depending
on whether I use the old Visual Basic Left and Mid
functions. I'm confused
How does one know which character constant to use to get a
new line without the black blocks? Is it just trial and
error, or is there a logical set of rules?
-- Cindy