Thanks for the reply Roger,

Since will put this on my web site for general use, I don't want users to have to install additional software.

I'll try win32com.client.Dispatch('Wbemscripting.Swbemlocator') see what that does.

As a last resort, I use a registry key as a run status varable. Not my first choice, but I think it will work for all win9x systems.


Roger Upole wrote:
   WMI didn't come installed on Win98.  You can download the
addon for win98 from Microsoft.
   If I recall correctly from when I last used it on 98, GetObject
didn't work for wmi.  You might have to use
win32com.client.Dispatch('Wbemscripting.Swbemlocator')
to create the object.

    hth
         Roger
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to