Hi,
Your code looks ok, but what's included in your Object Query parameter oQuery?
Have you tried some simple query, like what's mentioned in ManagementObjectSearcher Constructor (ManagementScope, ObjectQuery) ?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Remote WMI Connection issueThreaded View
|
Click Here to Expand Forum to Full Width |