Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

DEC to ascii conversion

Status
Not open for further replies.

D_A_V_E

Member level 5
Joined
Nov 13, 2007
Messages
91
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
1,736
dec to ascii vb.net

Hi friends,

I would like to know if there is a direct way to convert dec values into ascii characters in vb.net???

I have made a nice program that saves data that i receive from the serial port. I want to see it in ascii values expl: 111--> o ect.

Could you please help me with this problem if possible?
 

mezo

Member level 5
Joined
Jul 16, 2007
Messages
81
Helped
12
Reputation
24
Reaction score
8
Trophy points
1,288
Location
Egypt
Activity points
1,738
tell me my friend what is the difference between the dec & ascii ?

they are the same . the ascii code is a decimel numbers . is that what you mean ?
 

jhbbunch

Full Member level 4
Joined
Feb 21, 2006
Messages
199
Helped
17
Reputation
34
Reaction score
3
Trophy points
1,298
Activity points
2,902
Just use the .NET ToString method. All datatypes have it.

Console.Writeline("The value of x is:" + x.ToString)

Or something like that.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top