Solved Remote desktop connection

Posted on 2012-04-08
Last Modified: 2012-04-08
I need to connect to remote desktop using VB.NET
3 textboxes (username,Password,Server IP) and 1 button.
How i can do it??
i have this
IP: username:utente  password:qwerty
and if connection was successfull,i need to disconect and show message box ("connection GOOD")
Question by:replica1987
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 20

Expert Comment

ID: 37820980

Author Comment

ID: 37820987
i have just seen that projects,but i don't have Microsoft Terminal Services Control Type Library in
LVL 20

Expert Comment

ID: 37820995
well you need that buddy, that's the formidable way to achieve what you want to.
BTW it is readily available and installed as COM component with Win7, normally found on the following path on 32 bit Win 7 machine:-


Try to see the link below for more details on how to set up terminal services for your use:-

here's a implementation:-
Industry Leaders: 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!


Author Comment

ID: 37821034's working.BUT if the remote computer is shutted down,i need to make messagebox("server is shutted down") how i can do i it??
LVL 20

Accepted Solution

BuggyCoder earned 500 total points
ID: 37821037
try to use ping class in and see if you can ping the ip....

Author Closing Comment

ID: 37821132

Author Comment

ID: 37821274
another i can disconnect if connection was sucessfull???
if password or username is wrong  i need to disconect to.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MYSQL responding very slow 3 66
Need help converting bitmap to image in VB.Net 8 64
How to call new form in VB2013? 4 31
Intermittent OleDbConnection Error 20 50
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

737 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