代码:
<DIV style="BORDER-RIGHT: #000000 1pt inset; BORDER-TOP: #000000 1pt outset; BORDER-LEFT: #000000 1pt outset; BORDER-BOTTOM: #000000 1pt inset; BACKGROUND-COLOR: #dddddd; font-size: 70%; padding: 10px 15px 10px 25px; font-family: Verdana;">
strComputer = "."
<br>Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
</DIV>
strComputer = "."
<br>Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
</DIV>
或者:
<pre style="BACKGROUND-COLOR: #dddddd; font-size: 70%; padding: 10px 15px 10px 25px; font-family: Verdana; margin-bottom: 1em;">
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
</pre>
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
</pre>