hi I need a code that allowed the user to enter 4 digit in the textbox then replace each digit with the result of adding 7 to the digit and getting the remainder after dividing the new value by 10. then swap the first digit with the third and swap the second digit with the fourth. the result show in label
thks lot plz help
jatt09
0
Newbie Poster
Recommended Answers
Jump to PostHow about showing us what you've done first so we can take a look at it..
Jump to Post1st you start. you can take help from search engine. download code and try it.
Jump to PostYou are referring to a label in a module. Add the form name where it is located -
lblresult.Text = result.ToString
'a Label has a caption and not text...
frmMain.lblresult.Caption = result.ToString
All 10 Replies
jhai_salvador
48
Junior Poster
abu taher
34
Practically a Posting Shark
jatt09
0
Newbie Poster
jatt09
0
Newbie Poster
jatt09
0
Newbie Poster
jatt09
0
Newbie Poster
jhai_salvador
48
Junior Poster
AndreRet
526
Senior Poster
jatt09
0
Newbie Poster
AndreRet
526
Senior 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.