I want to convert this VB 6 code
If Len(Text1.text) <> 0 Then Text1.text = Left(Text1.text, Len(Text1.text) - 1)
To visual basic.net 2010 pro
This code is used for making textbox delete only one number when you click on button .
Ahmed_78
0
Newbie Poster
Recommended Answers
Jump to PostWhy do you need to convert it? Simple VB6 code like this should work in VB.net. If you have already tried, what errors are you getting?
All 3 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Ahmed_78
0
Newbie Poster
Ahmed_78
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.