Window host - VBScript (General questions)
by Ryan, Monday, March 17, 2008, 16:10 (6095 days ago)
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
by wodDamir, Monday, March 17, 2008, 16:48 (6094 days ago) @ Ryan
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
by Ryan, Monday, March 17, 2008, 21:56 (6094 days ago) @ wodDamir
I have installed SSH.NET, Do i have buy/install different component for Window host VBscript ?
Thanks
Re: Window host - VBScript
by wodDamir, Monday, March 17, 2008, 22:07 (6094 days ago) @ Ryan
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
by Joseph Jenkins, Wednesday, February 15, 2012, 21:23 (4664 days ago) @ wodDamir
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
by wodDamir, Wednesday, February 15, 2012, 21:38 (4664 days ago) @ Joseph Jenkins
Hi Joseph,
What OS are you trying this on? Also, what version of component are you using?
Regards,
Damba