Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to get list of open processes into the fi
Message
General information
Forum:
Windows
Category:
Troubleshooting
Miscellaneous
Thread ID:
01320331
Message ID:
01320361
Views:
19
>>>How about WMI?
>>
>>Good idea. Can you please give me a script file?
>>
>>Thanks.
>
>
>loLocator			= CREATEOBJECT('WBEMScripting.SWBEMLocator')
>loWMI				= loLocator.ConnectServer()
>loProcesses			= loWMI.ExecQuery([SELECT * FROM Win32_Process])
>
>For Each loProcess in loProcesses
>	? loProcess.Caption, loProcess.Name, loProcess.ProcessID, Nvl(loProcess.ExecutablePath, '')
>Next
>
Thanks a lot, Hugo, but I don't need it in VFP code.

Anyway, in the meantime I found the problem. Somehow one unrelated page got included into the project. In other words, the error I was getting was not even from the page I was working on, but was coming from another test page. Cost me several hours :(
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform