Solved

I need help connecting to a remote computer with vbscript

Posted on 2015-01-22
2
85 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
[X]
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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Six Sigma Control Plans

617 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