Window host - VBScript (General questions)

by Ryan @, (6320 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

locked

Re: Window host - VBScript

by wodDamir @, (6320 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

locked

Re: Window host - VBScript

by Ryan @, (6320 days ago) @ wodDamir

I have installed SSH.NET, Do i have buy/install different component for Window host VBscript ?

Thanks

locked

Re: Window host - VBScript

by wodDamir @, (6320 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

locked

Re: Window host - VBScript

by Joseph Jenkins @, (4890 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.

locked

Re: Window host - VBScript

by wodDamir @, (4890 days ago) @ Joseph Jenkins

Hi Joseph,

What OS are you trying this on? Also, what version of component are you using?

Regards,
Damba

locked