What Im trying to do is enter in a text using vb.
like
text1.text = "Hello" & [Enter code here] & "World"
it would turn out like this>
Hello
World
<
Printable View
What Im trying to do is enter in a text using vb.
like
text1.text = "Hello" & [Enter code here] & "World"
it would turn out like this>
Hello
World
<
I belive you can use {ENTER} or Chr$(13) both are considered "enter"
Hope that helps,
D!m
no no no, use vbCrLf instead.
Or just listen to Dreamlax. :)
Could you also tell me how to put a list into a text.
thanks
text1.text = list??
thanks
ummm...if your planing to have something like
Text1.Text = "Item1|Item2|Item3"
and if you have vb6 then you can probably use the Split():
Split(Text1.Text, "|")
I THINK that should work...give it ago unless someone post something better. (most likely will :))
I don't have VB6, And Im just trying to get the list into the text
Thank you Dim and Dreamlax,
I fegured out how to put the list into the text using the "Next i"
I also used vbCrLf.
Thank you very much for your help, even if you don't give a damn.
Thank you for your time,
Some Newbie
Ofcourse we give a damn, :)
That's what we're all here for.
Gl with your programming,
D!m
This code will take the string "Hello World" apart and add the two pieces into a list box.Code:Text1.Text = "Hello World"
hello = Mid(Text1, 1, 5)
world = Mid(Text1, 6, 6)
List1.additem (hello)
List1.additem (world)