what takes place of the old chr and asc functions from vb6 in vb.net?
what takes place of the old chr and asc functions from vb6 in vb.net?
Re: what takes place of the old chr and asc functions from vb6 in vb.net?
Re: what takes place of the old chr and asc functions from vb6 in vb.net?
Quote:
Originally Posted by Graff
chr and asc
Figured someone would say that. Yeah I know, thats because .NET continued support of those functions, but I also thought .NET had its own methods for string objects similar to the old chr and asc vb6 functions.
Re: what takes place of the old chr and asc functions from vb6 in vb.net?
for the 'asc' function, try
for the 'chr' function, try
Also take a look at System.Text.ASCIIEncoding for conversion between byte arrays and strings in ascii.
Hope this helps