answersLogoWhite

0


Best Answer

A char is already an integer, so there is no conversion required. A character is simply an integer that maps to a glyph in the current code page. ASCII characters are 1 byte long and have a value in the range 0 to 127 while extended ASCII characters are in the 128 to 255 range. Wide characters (UTF16 UNICODE) characters are two bytes long and cover the range 0 to 65,535, where 0 to 127 map to the standard ASCII character set. UTF8 UNICODE characters are variable width (1 to 6 bytes in length), where 0 to 127 are single-byte characters mapping to the standard ASCII set.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert a char to an integer in Visual Basic 2010?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you calculate a loop in visual basic 2010?

For i as integer = 1 to 10 ....... Next i


Is there a page for tutorials on Visual Basic 2010?

There are several pages on the internet for tutorials on Visual Basic. Google them.


Who invented visual basic software?

Visual Basic 6/2005/2008/2010 Express/Professional/Ultimate All versions of Visual Basic are made by Microsoft.


Who's product is visual basic?

Now, Mirosoft. The products inculde: Visual Basic 4, 5, 6, 2010... and Visual Basic Express editions for Learners/Faster Coding


Can visual basic 2010 save as visual basic 2008?

No you cannot, furthermore you will have to run a conversion tool when trying to open the file. However, it is not a perfect conversion the majority of the time and unless you are converting some pretty basic code it may require some modification to the code (Or it may just not convert at all).


What version of Visual Basic is the most current version?

2010


What is properties window of visual basic 2010?

The property window in visual basic allows you to change characteristics of an object such as the name, text, font, color...


How many languages are supported by visual studio?

Visual studio 2010 supports 5 programming languages. These are Visual Basic, Visual C#, Visual C++, Visual F# and JScript.


You use Visual Basic 6 and you are use to the coding language What is the newest edition with exactly the same coding language?

You said Visual Studio 2010 but does it have the BASIC language.


Where can you find starting out with visual basic 2010 solutions?

cheggcom has a great group to answer


What is the difference between Visual Basic 2008 and 2010 and should you update from 2008 to 10 or is it not worth it Also is 2008 projects compatible with 2010?

Visual Basic 2010 code has more commands than 2008 and the code is slightly different and slightly more advanced. I cannot say it is worth upgrading or not because it depends on the person and what he or she wants to program with it. Yes Visual Basic 2008 projects, forms and exe are compatible and capable of running with 2010.


What is the correct coding for converting a string to a double in visual basic 2010?

Dim i as double = CDbl("12")