Solved

I need help connecting to a remote computer with vbscript

Posted on 2015-01-22
2
82 Views
Last Modified: 2015-02-12
I have the ipaddress, computer name, user name and password.  Can anyone point me to a vbscript that will allow me to connect to the remote computer?  Thanks ahead of time as always.
0
Comment
Question by:hardrock95
2 Comments
 

Author Comment

by:hardrock95
ID: 40565088
I have the ipaddress, computer name, user name and password.  Can anyone point me to a vbscript that will allow me to connect to the remote computer?  Thanks ahead of time as always.
0
 
LVL 42

Accepted Solution

by:
pcelba earned 500 total points
ID: 40566279
VBscript code is here: http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_21050186.html

VB.NET code sample with all necessary comments is here: http://vbnet.mvps.org/index.html?code/network/wnetaddconnection2.htm

The question, of course, is "What connection do you need?"...

Above code can connect shared drive or folder. You could also request Remote Desktop connection or execute some process at the remote PC etc.
0

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

828 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