![vb net 2010 console.readkey vb net 2010 console.readkey](https://slidetodoc.com/presentation_image_h/a571275ac65e7fd5b42ebd74bac34173/image-3.jpg)
So what should I do? Convert those superscript numbers to CP-437 (DOS) encoding and then display it?ĮDIT: I've tried saving that thing as a file in my Desktop using CP-437 encoding. this is what came:Ĭommand Prompt, in fact, when copy-pasted, shows correctly! I also tried copy-pasting all the superscript numbers in a Command Prompt window. You can support this channel by purchasing my online cou.
#VB NET 2010 CONSOLE.READKEY HOW TO#
Only 2 and 0 are shown in superscript form! Visual Studio 2019 (VB.NET) - How to Create Your First Program (Super Hello World Console App). Well 9 is gone, but the other digits is what confusing me. If I try printing 0 to 9 as superscript, it comes like this: 1☣45678?° Why is it that only 2 is shown in superscript form and why not the other digits also?
![vb net 2010 console.readkey vb net 2010 console.readkey](https://d20ohkaloyme4g.cloudfront.net/img/document_thumbnails/707fcad353b99de6d3201e29952b5cc6/thumb_1200_1553.png)
Okay, the GetExponentialNumAsString$ function works well and gives 12345¹²³⁴⁵, which is okay (checked through Immediate window), but the only problem is that while printing the same in the Console view gives this: 123451☣45 If Exponent = 1 Then Return Number : Exit Function Public Function GetExponentialNumAsStr$(Number As Double, Exponent%) One of the most common uses of the ReadKey() method is to halt program execution until the user presses a key and the app either terminates or displays an additional window of information.
#VB NET 2010 CONSOLE.READKEY CODE#
Well, I've found out the superscript numbers from Charmap and my code is this: Public Module MainModuleĬonsole.Write(GetExponentialNumAsStr(12345, 12345)) 'This must be printed as 12345¹²³⁴⁵ The Console class in the System namespace provides a function ReadLine() for. It's a console-based application and I want it to print superscript numbers. Visual Studio 2010 (VS) Visual C 2010 Express (VCE) Visual Web Developer. I just have a small issue with a Visual Basic (2010 Express).