| Author |
Message |
D_A_V_E
Joined: 13 Nov 2007 Posts: 52 Helped: 3
|
13 Aug 2008 16:15 DEC to ascii conversion |
|
|
|
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?
|
|
| Back to top |
|
 |
mezo
Joined: 16 Jul 2007 Posts: 60 Helped: 2 Location: Egypt
|
17 Aug 2008 14:41 Re: DEC to ascii conversion |
|
|
|
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 ?
|
|
| Back to top |
|
 |
jhbbunch
Joined: 21 Feb 2006 Posts: 220 Helped: 15
|
18 Aug 2008 17:59 DEC to ascii conversion |
|
|
|
Just use the .NET ToString method. All datatypes have it.
Console.Writeline("The value of x is:" + x.ToString)
Or something like that.
|
|
| Back to top |
|
 |