![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Nov 2004
Posts: 3
|
Hi there!
I'm trying to enable Microsoft Agent support for our loved NetStumbler. I get an error in the following function at the line marked with '!?!: Function Activate(agent) Path = "%WINDIR%\MSAGENT\CHARS\" & agent & ".ACS" Set AgentControl = WScript.CreateObject("Agent.Control.1", "event_") '!?! If IsObject(AgentControl) Then AgentControl.Connected = True Set wshshell = CreateObject("WScript.Shell") Path = wshshell.ExpandEnvironmentStrings(Path) AgentControl.Characters.Load agent, Path Set Activate = AgentControl.Characters(agent) End Function It says " Object needed : 'WScript' ", ok, I googled a bit and found some threads where a similar problem seemed to disappear by using this: Set AgentControl = CreateObject("Agent.Control.1", "event_") When I try to use it, it says kind of " The Remoteservercomputer is not existent or not available. " Anyone knows how to solve that misery? Btw: In both cases the error is reported to occour in the line marked with '!?! at the beginning by the "set", if that does matter anyhow. |
|
|
|
|
|
#3 (permalink) | |
|
Registered Member
Join Date: Nov 2004
Posts: 3
|
Quote:
Is it possible that Netstumbler uses its own parser? ... I know that sounds dumb, but I dont have a clue how to interpretate that error... ![]() |
|
|
|
|