Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Why my VBS code book is so dumb! This code can't work properly!!

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

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Why my VBS code book is so dumb! This code can't work properly!!
  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 >>
 Why my VBS code book is so dumb! This code can't work p... - 5/20/2008 10:13:04 AM   
  lair360

 

Posts: 22
Score: 0
Joined: 5/16/2008
Status: offline
I've tried to fix this VBScript and it still give me errors!
Anything wrong here???


      

P.S. This script is very usefull and I need it alot! But, it doesn't bloody work!!

_____________________________

VBscript and computer educational website: http://globalnews.srcom.org/
 
 
Post #: 1
 
 RE: Why my VBS code book is so dumb! This code can't wo... - 5/20/2008 10:42:55 AM   
  lair360

 

Posts: 22
Score: 0
Joined: 5/16/2008
Status: offline
Microsoft is dumb as hell! This also goes to Xbox and their junk!!
The code should be like this!!

      

P.S. Their VBS codes learning centre are lame! Mostly....

(in reply to lair360)
 
 
Post #: 2
 
 RE: Why my VBS code book is so dumb! This code can't wo... - 5/20/2008 12:11:36 PM   
  TNO


Posts: 1074
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Is not working because Windows Server 2008, Windows Server 2003, or Windows 2000 Server is required. this doesn't exist on other OSes I believe.


quote:

ORIGINAL: lair360

I've tried to fix this VBScript and it still give me errors!
Anything wrong here???


      

P.S. This script is very usefull and I need it alot! But, it doesn't bloody work!!


_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to lair360)
 
 
Post #: 3
 
 RE: Why my VBS code book is so dumb! This code can't wo... - 5/21/2008 12:24:00 AM   
  dm_4ever


Posts: 2555
Score: 40
Joined: 6/29/2006
From: Orange County, California
Status: offline
As TNO mentioned

According to MS, this WMI class....
http://msdn.microsoft.com/en-us/library/ms682185.aspx
quote:


Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server


_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to TNO)
 
 
Post #: 4
 
 RE: Why my VBS code book is so dumb! This code can't wo... - 5/21/2008 2:34:11 AM   
  lair360

 

Posts: 22
Score: 0
Joined: 5/16/2008
Status: offline
Ahhh...somehow my visual basic book doesn't state types of OS compatibility.

Thank you very admin and everyone! T.T
I'm already crying...this forum is my favourite! All of you guys are fan of VBS club!


(in reply to dm_4ever)
 
 
Post #: 5
 
 RE: Why my VBS code book is so dumb! This code can't wo... - 5/21/2008 2:59:34 AM   
  TNO


Posts: 1074
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
THe safest bet to know wheter a WMI will work is if it has Win32_ in front of it. Otherwise you may want to check up on it

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to lair360)
 
 
Post #: 6
 
 RE: Why my VBS code book is so dumb! This code can't wo... - 5/21/2008 5:12:16 AM   
  lair360

 

Posts: 22
Score: 0
Joined: 5/16/2008
Status: offline
Thanks for the advice, I'll put your infos to my notepad for further usesage.

(in reply to TNO)
 
 
Post #: 7
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Why my VBS code book is so dumb! This code can't work properly!! 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