siskokid
-
Total Posts
:
2
- Scores: 0
-
Reward points
:
0
- Joined: 8/2/2007
-
Status: offline
|
SWbemLocator.ConnectServer object deletion / removal
Thursday, August 02, 2007 1:23 AM
( permalink)
Good afternoon everybody, I encounter the following strange problem. I create an obbject: [vbscript] Set obj1 = CreateObject("WbemScripting.SWbemLocator") Set obj2 = obj1.ConnectServer() WScript.Echo VarType(obj2)Set obj2 = NothingWScript.Echo VarType(obj2)[/vbscript] The problem is that I cannot delete this object (obj2). In both cases I get 9 as an output. How can I delete/remove the object? Any help will be apreciated :) Best,siskokid
|
|
|
|