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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2394
  • Last Modified:

vb.net Remote desktop connection

HI ALL.
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:79.4.28.160 username:utente  password:qwerty
and if connection was successfull,i need to disconect and show message box ("connection GOOD")
thanks.
0
replica1987
Asked:
replica1987
  • 4
  • 3
1 Solution
 
replica1987Author Commented:
i have just seen that projects,but i don't have Microsoft Terminal Services Control Type Library in vb.net
0
 
BuggyCoderCommented:
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:-

c:\Windows\System32\mstscax.dll

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

http://technet.microsoft.com/en-us/library/cc730673%28v=ws.10%29.aspx

here's a vb.net implementation:-
http://www.techusers.net/109/remote-desktop-application-vbnet
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
replica1987Author Commented:
ok.thanks.it'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??
0
 
BuggyCoderCommented:
try to use ping class in system.net.NetworkInformation and see if you can ping the ip....

http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx
0
 
replica1987Author Commented:
THANKS
0
 
replica1987Author Commented:
another problem.how i can disconnect if connection was sucessfull???
if password or username is wrong  i need to disconect to.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now