Solved

Console app in vb.net!

Posted on 2004-04-19
3
682 Views
Last Modified: 2007-12-19
how to build the consol application using vb.net, so it will ask you a question for example login user name & password, so when user types in his user name you can see it, but when user types in his password it will hide it. And once you click enter after typing password it will show message, like hello. For example user=Jime password=hello I want my app look like this:

Please type in your username.

User name:
Password:

0
Comment
Question by:g00r00
3 Comments
 
LVL 28

Accepted Solution

by:
iboutchkine earned 20 total points
ID: 10860442
'create project as Console app


    Module Module1

      Sub Main()
        Dim sEntry As String
        System.Console.Write("Enter your name: ")
        sEntry = System.Console.ReadLine()
        System.Console.WriteLine("Your name is '" & sEntry & "'")
      End Sub

    End Module

0
 
LVL 4

Expert Comment

by:NetPointer
ID: 10861865
I m not sure about this but worth checking..
ProcessInfo.RedirectStandardInput may help u...

0
 

Author Comment

by:g00r00
ID: 10864608
What about second part, like password, when you typing you cannot see it?
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now