Window host - VBScript (General questions)
I'm new to this system.
I got an error Can't create object on this statment.
Set SSH = CreateObject( WeOnlyDo.wodSSHCom.1 )
Can you let me know what do i need to download and install ?
Thanks,
Ryan
Re: Window host - VBScript
Hi Ryan,
Can you please try something like this:
[code]Dim ssh
Set ssh = WScript.CreateObject( WeOnlyDo.wodSSHCom.1 )[/code]
Also, I assume that you installed the component. If you did, you should have a VBS sample included in the samples directory. Can you cehck it out?
If you still receive the same error (even with our sample) then I suggest that you try re-installing the component.
Regards,
Damba
Re: Window host - VBScript
I have installed SSH.NET, Do i have buy/install different component for Window host VBscript ?
Thanks
Re: Window host - VBScript
Hi Ryan,
Yes, since wodSSH.Net can't be used in VBScript. wodSSH.Net can only be used in .Net languages.
You should try using wodSSH ActiveX component instead. You can download it from the following link:
http://www.weonlydo.com/Samples/wodSSH.exe
When you install it, you should find a sample of using wodSSH in VBScript.
Regards,
Damba
Re: Window host - VBScript
I got an error Can't create object on this statment.
Set SSH = CreateObject( WeOnlyDo.wodSSHCom.1 )
I did the reinstall as was previously asked for, but is not working correctly.
Re: Window host - VBScript
Hi Joseph,
What OS are you trying this on? Also, what version of component are you using?
Regards,
Damba