PC Review
Forums
Newsgroups
Windows XP
Windows XP WMI
floppy drive access while retrieving win32_sofwareelement
Forums
Newsgroups
Windows XP
Windows XP WMI
floppy drive access while retrieving win32_sofwareelement
![]() |
floppy drive access while retrieving win32_sofwareelement |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello,
The collection of win32_softwareelements throught WMI causes some annoying floppy drive access for some reason. I search already the groups and found there was some bug in wmi in earlier versions of windows and wmi (windows 98 & 2000) The collection happens on a windows xp sp2 machine and didn't find anything what may cause the floppy drive access. Does anyone have experienced the same problem (and maybe solved it)? thanks on advance code: dim _scope as ManagementScope= New ManagementScope("root\cimv2") Dim wmiBaseObject As ManagementBaseObject Dim selQuery As SelectQuery Dim searcher As ManagementObjectSearcher Dim MyCollection As ManagementObjectCollection Dim dr As DataRow Dim className As String Try className = "Win32_SoftwareElement" selQuery = New SelectQuery(className) searcher = New ManagementObjectSearcher(_scope, selQuery) searcher.Options.ReturnImmediately = True searcher.Options.Rewindable = False MyCollection = searcher.Get() ..... |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

