J
Jeff
Ok, I know this should be simple, I am trying to use the String Class
Member "Remove" like so:
1 Dim tmp1 As String
2 tmp1 = txtBox1.Value
3 tmp1 = tmp1.Remove(0, 7)
4 txtBox2.Value = tmp1
I've got lots of experience programming in C and C++ and it seams like
I just need the equivilent of "#include string;" But I'm still
learning vb, and I can't seam to find a way to do so anywhere.
The above code runs on form_load() and is suppose to remove the first 7
characters from a 14 character string. But when the form loads I get an
error stating: "Compile error: Invalid qualifier" and it highlights
the tmp1 just before the period on line 3 above.
So... what am I doing wrong here?
Member "Remove" like so:
1 Dim tmp1 As String
2 tmp1 = txtBox1.Value
3 tmp1 = tmp1.Remove(0, 7)
4 txtBox2.Value = tmp1
I've got lots of experience programming in C and C++ and it seams like
I just need the equivilent of "#include string;" But I'm still
learning vb, and I can't seam to find a way to do so anywhere.
The above code runs on form_load() and is suppose to remove the first 7
characters from a 14 character string. But when the form loads I get an
error stating: "Compile error: Invalid qualifier" and it highlights
the tmp1 just before the period on line 3 above.
So... what am I doing wrong here?