floppy drive access while retrieving win32_sofwareelement

Discussion in 'Windows XP WMI' started by frederic.desmyter@gmail.com, Mar 21, 2007.

  1. Guest

    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()
    .....
     
    , Mar 21, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vladimir
    Replies:
    0
    Views:
    770
    Vladimir
    Apr 20, 2005
  2. james
    Replies:
    0
    Views:
    1,606
    james
    May 4, 2005
  3. Guest
    Replies:
    1
    Views:
    820
    Dave Patrick
    Dec 15, 2005
  4. Guest

    CD-RW Drive & DVD Drive

    Guest, Jul 11, 2006, in forum: Windows XP WMI
    Replies:
    1
    Views:
    582
    Guest
    Jul 28, 2006
  5. VAL

    cd / dvd & floppy will not work

    VAL, Jun 25, 2009, in forum: Windows XP WMI
    Replies:
    0
    Views:
    534
Loading...

Share This Page