Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

I need help connecting to a remote computer with vbscript

Posted on 2015-01-22
2
Medium Priority
?
86 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 43

Accepted Solution

by:
pcelba earned 2000 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

Independent Software Vendors: 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!

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

722 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