Login | |
|
 |
RE: Dell Battery Recall - 10/4/2006 10:01:40 PM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
change the following: Line 16: bBatch = True Line 67: Set fso = CreateObject("Scripting.FileSystemObject") comment the next line out: Line 57: If bBatch Then Line 66: End If
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Dell Battery Recall - 10/4/2006 10:35:08 PM
|
|
 |
|
| |
gdewrance
Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
|
Thanks. I get an error Line67, Char1 Error: ActiveX component can't create object: 'winmgmts://MACHINEnAME' CODE 800A01AD
|
|
| |
|
|
|
 |
RE: Dell Battery Recall - 10/4/2006 10:37:22 PM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
quote:
MACHINEnAME strComputer = MACHINEnAME in your case....if that is not your PCname, you must alter it...
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Dell Battery Recall - 10/4/2006 10:54:12 PM
|
|
 |
|
| |
gdewrance
Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
|
oops I'm the **** changed the wrong line I changed GetObject("winmgmts://"& strComputer) to Create Thanks Works now
< Message edited by gdewrance -- 10/4/2006 11:00:20 PM >
|
|
| |
|
|
|
|
|