There is no TOP 1 clause in WQL. Leave it out and your query should work:
"SELECT * FROM Win32_Process WHERE Name = 'EXCEL.EXE'"
Uros Calakovic
2008-11-13 17:44:13
There is no TOP 1 clause in WQL. Leave it out and your query should work:
"SELECT * FROM Win32_Process WHERE Name = 'EXCEL.EXE'"
How about
UserName = Environ("Username")
Domain = Environ("UserDomain")
Combined= Environ("UserDomain") & "\" & Environ("Username")