wscript and netstumbler
OK don't flame me...
I'm trying to write a script that uses the following code
Dim winsock, WScript
set winsock = Wscript.createobject("MSWINSOCK.Winsock", "winsock_")
winsock.Remotehost = "127.0.0.1"
winsock.RemotePort = 695
more script..........bla....bla...bla
Heres the problem, If I execute the the vbscript by dubble clicking on it it runs fine, but if I try to have netstumbler call it I get an error "Microsoft VBScript runtime error: Object required: 'Wscript'"
help a newbie out
PS I have .NET 2003 with WSH installed
|