Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


error

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> error
  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 >>
 error - 9/20/2006 6:28:15 PM   
  beer78

 

Posts: 1
Score: 0
Joined: 9/20/2006
Status: offline
I'm new in VB script, and I build this in notepad.

But what do i do wrong.


      


I think It goes wrong in the "Computernaam aanpassen" section.   because the error "Er is een fout opgetreden" comes in a messagebox.

I hope someone can help me with this. and i hope someone can give me a freeware tool where i can test this code
 
 
Post #: 1
 
 RE: error - 9/21/2006 12:18:24 AM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
 Beer78,

You can use the Rename method to rename a computer. If you are a member of the local administrator group. However, you cannot use the method remotely for domain computers.

Please refer to this page for more info:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/rename_method_in_class_win32_computersystem.asp

S.

_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com

(in reply to beer78)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> error 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