--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"drewex" <dre...@hotmail.com> wrote in message
news:#4aDifJ5...@TK2MSFTNGP11.phx.gbl...
Dim Process As Object
Set Process = GetObject("winmgmts://ERSIN01").ExecQuery("SELECT * FROM
Win32_PnPEntity where caption=""Hauppauge WinTV 878/9 WDM Video Driver""")
For Each ddd In Process
List1.AddItem ddd.Description
ddd.setpowerstate (6)
Next
"Daniel Pravat [MSFT]" <dpr...@online.microsoft.com> wrote in message
news:#Zhzx2M5...@TK2MSFTNGP09.phx.gbl...
So you can see it in the object browser but that doesn't gaurantee that it
will work. This particular method was inherited from the cim class
cim_logicalDevice, which is Win32_PnPEntity's superclass.
--
[MS] Scott McNairy
WMI Test Engineer
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"drewex" <dre...@hotmail.com> wrote in message
news:eOmyIfP5...@TK2MSFTNGP12.phx.gbl...
"[MS] Scott McNairy" <sco...@online.microsoft.com> wrote in message
news:3e692c3c$1...@news.microsoft.com...
"5 - The requested control code cannot be sent to the service because the
state of the service (Win32_BaseService:State) is equal to 0, 1, or 2"
And I don't know what that means. Is there a nother way to this. Thank for
reading and replying..
"drewex" <dre...@hotmail.com> wrote in message
news:OktPh5W5...@TK2MSFTNGP09.phx.gbl...
--
[MS] Scott McNairy
WMI Test Engineer
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"drewex" <dre...@hotmail.com> wrote in message
news:Os0k0QY5...@TK2MSFTNGP12.phx.gbl...
--
[MS] Scott McNairy
WMI Test Engineer
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"[MS] Scott McNairy" <sco...@online.microsoft.com> wrote in message
news:3e6c...@news.microsoft.com...
I can disable it from the device manager so It should give me this answer.
when I've tried to enable it (where I disabled it from device manager). This
time it gives me
14 - The service has been disabled from the system.
So I'm going little bit mad. I've tried lots of thing can't get a solution.
I've searched msdn for the outputs But nothing.. I really Need HELP on
this. Thank you for reading
and a special thanks to the responders. Thank you for the advises
Private Sub Form_Load()
Dim Process As Object
Set Process = GetObject("winmgmts://ERSIN01").ExecQuery("SELECT * FROM
Win32_SystemDriver WHERE Name=""HCWBT8XX""") 'Win32_PnPEntity where
caption=""Hauppauge WinTV 878/9 WDM Video Driver""")
For Each ddd In Process
List1.AddItem ddd.Description
List1.AddItem ddd.stopservice
List1.AddItem ddd.Interrogateservice
Next
End Sub
"[MS] Scott McNairy" <sco...@online.microsoft.com> wrote in message
news:3e6cd913$1...@news.microsoft.com...
--
[MS] Scott McNairy
WMI Test Engineer
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"drewex" <dre...@hotmail.com> wrote in message
news:upc5T405...@TK2MSFTNGP09.phx.gbl...
CAn I do this from api programming I'm in to every ways to solve this.
Please someone show me the way I'll do anything for it..
"[MS] Scott McNairy" <sco...@online.microsoft.com> wrote in message
news:3e6d0c0a$1...@news.microsoft.com...
--
[MS] Scott McNairy
WMI Test Engineer
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"drewex" <dre...@hotmail.com> wrote in message
news:eF4gJ$95CHA...@TK2MSFTNGP10.phx.gbl...
"[MS] Scott McNairy" <sco...@online.microsoft.com> wrote in message
news:3e6e3da0$1...@news.microsoft.com...