Solved

I need help connecting to a remote computer with vbscript

Posted on 2015-01-22
2
83 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
convert Systemjs to Webpack 3 130
Adding a countdown to HTA 12 117
Why use this lambda? 12 98
Automate and generate Azure reports for the following items 3 79
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.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

710 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