Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Anyone has an idea on how to call a remote vbscript from vb.net or C# ?

the remote script is on a windows 2003 server.

I was trying to do this with vbscript:

 

Set wshController = CreateObject("WshController")

Set wshRemote = wshController.CreateScript("C:\TestRemoteMailbox\mailbox.vbs " & userAlias, strComputer)

 

unfortunately this doesn't seem to work...I have tried a lot of things...

wsh is standard installed on windows 2003 and a registry entry should exist named "remote" and it's value should be 1. there are no problems with the firewall.

 

So... Can I make it so that I can run a vbscript on a remote computer? calling it from vb.net or C# ?

 

thanks,

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...