*How about something like:

            var currentCulture = Thread.CurrentThread.CurrentCulture; // or
CurrentUICulture, I'm not sure which to use.
            Thread.CurrentThread.CurrentUICulture = new
CultureInfo("EN-US");
            WqlEventQuery procCreateQuery = new
WqlEventQuery("__InstanceCreationEvent", new TimeSpan(0, 0, 0, o, 200),
"TargetInstance is a \"Win32_Process\"");
            Thread.CurrentThread.CurrentUICulture = currentCulture;

Looks to me like the TimeSpan() is being converted behind the scenes to a
string, without using CultureInfo. BAD MS! No Cookie!

-- Peter Smith
*

Reply via email to