Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


vb.net - creating a New SocketClient

Posted on 2011-04-24
Medium Priority
Last Modified: 2012-05-11
Hello there,
I am having a little issue creating a New SocketClient..
when I enter the actual password like this it works

Dim Client As New SocketClient("myUser", "myPass")

but when I make it get the password from a textbox it wont run..

Dim Client As New SocketClient(User.Text, Pass.Text)

what can I do?
Question by:XK8ER
1 Comment
LVL 11

Accepted Solution

brutaldev earned 2000 total points
ID: 35457116
Have you had a look at what the value of User.Text and Pass.Text are?
If they don't not match the strings you are using in your first example where it works. Then I guess you should clean up the input.

First thing I'd look at is if the Pass.Text property does no return a list of stars '****'?

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

571 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