Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


SWbemLocator.ConnectServer object deletion / removal

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,50258
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> SWbemLocator.ConnectServer object deletion / removal
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 SWbemLocator.ConnectServer object deletion / removal - 8/2/2007 12:23:28 AM   
  siskokid

 

Posts: 2
Score: 0
Joined: 8/2/2007
Status: offline
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
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> SWbemLocator.ConnectServer object deletion / removal Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts