I need code for VB 6.0
I have variable c = 8:45
And I need code which will print 8 in one textbox and 45 in another textbox.
I hope you will write code and post it on forum instead of me.
Printable View
I need code for VB 6.0
I have variable c = 8:45
And I need code which will print 8 in one textbox and 45 in another textbox.
I hope you will write code and post it on forum instead of me.
Dim strParts() As String
strParts = Split(c, ":")
Text1.Text = strParts(0)
Text2.Text = strParts(1)
It works. Thanks! :)
You're welcome, now please help us by marking the thread as resolved. If you have JavaScript enabled you can do that by selecting the Mark Thread Resolved item from the Thread Tools menu. Otherwise please insert "[Resolved]" at the start of the Subject and select the green checkmark from the Post Icons.