Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
How to Return a string representing the hexadecimal value of a number dispalyed in a textbox
Dave Chika
Jun 26 2011 6:29 PM
7.3k
Reply
Hello All,
i am writing an application in C# which communicates with serial port by sending hex data to the port. how can i convert a textbox.text contents into Hex values of the number displayed on the textbox.text (displays these data after computation).
example: my textbox.text may display any of these values like 16,17,24,34,39,49,52,65,68,81,89,99,101 or 129. is there any method to convert the displayed values on the textbox to hexadecimal equivalent of the value on the textbox and write such to the serilport.
any code/ clue will be welcomed.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Executing a program at a specific time?
How can I delete all data in a text file