Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2012 Input mask console line

$
0
0
Hi Guys!

I don't think it is posible but I'll ask it anyway. Is there any way to mask command line?

E.g there is a WriteLine says "Please input date".
If user inputs "08" it will add "/". Then, after user inputs "22" it will add another "/"...

Is it possible?

EDIT: Even it will be much more fancy If readline appears like "mm/dd/yyyy hh:mm:ss" with a prompt on the first character and as user inputs the numbers it will skip the slashes, the space and the columns.
I'd call this FAN-TAS-TIC!

Thanks a lot!

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>