Today we will take a look at the method of defining a string variable in VB. It is very simple. Please see the detailed introduction below.
1. We open the code window and start typing in the frame.
2. Then we enter Dim c as string.
3. Next we can use it.
4. Then we can input and other operations on him.
5. At this time we run the test.
6. You can see the effect as shown in the picture.
The above is the tutorial for defining string variables in vb6.0. I hope you like it. Please continue to pay attention to the new webmaster website.
Related recommendations:
How to program an addition calculator in VB6.0?
How to change ordinary form into MDI form in VB6.0?