>>>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