Hi,
I have a console application that takes user input:
seq = System.Console.ReadLine()
System.Console.Write("TTT {0}", seq)
Readline() somehow always converted the string into lower case so "ABCabc" would become "abcabc" which is not what I really want
Is there any way to take user input as it is
Thanks,

System.Console.ReadLine() always return lowered case string -_-!
bonni
Sorry, I forgot to say that I get this result in a WIN CE 5.0 device and my app is a console application. My IDE is VS.NET 2003.
Any idea
Module
Module1 Sub Main() Dim seq = System.Console.ReadLine()System.Console.Write("TTT {0}", seq)
System.Console.ReadLine()
End SubEnd
Module*************************
Testing it on a Win CE 5.0 device
[UC-7408-CE] \cffolder>moxa_uc
abcABC <-- I type this in
TTT abcabc --> returned lowercase
[UC-7408-CE] \cffolder>
ssfftt
Unless you are doing something in between the following will output the strings in the same case as there were entered. This is a console application - so perhaps you may be doing something different - perhaps you can enlighten us with a bit more info.
Module Module1
Sub Main()
Dim seq = System.Console.ReadLine()
System.Console.Write("TTT {0}", seq)
End Sub
End Module
I entered aBcDeF123!@# and it output TTT aBcDeF123!@#
Stu Sahulka
Hi
That is a Moxa UC-4708-CE device. It is a industrial device which has WinCE 5.0 embedded. It supports CF2.0 . I basically compiled the above simple Smart Application and upload it onto the device's CF folder and run it. Since this UC-7408 has no display, I am connecting it using HyperTerminal via comm port. I run the application under HyperTerminal and get the above result.
It is not about the setting matter in HyperTerminal because I also print out the ascii code of each character returned from console.readline() , it returned 97 for a and A from readline() .... (just guess 97 = a because I am not running the application at the moment)
I think I got to contact the manufactorer for this matter.
Thanks
LT2007
mdrelyea
Batikit,
I took your exact VB code and created CF V2 SP1, V2 RTM and V1 SP3 projects and ran them on a WinCE5 device. In all cases they worked correctly. Perhaps you could give more info about what you're doing What kind of device is it What version of CF are you using and how did it get on there (did you install it, or did it come already on the device) Are you sure you created the right kind of project If you run under the debugger, what version of mscorlib, etc, does it say it's using
--Jeff
Christian.Lorenz
Perhaps the guys in the smart device forums may provide some clues as to what the Compact framework may be doing.
http://forums.microsoft.com/MSDN/default.aspx forumgroupid=11&siteid=1