>Agreed. I looked at the faq you posted and tried that out also. I tried to find some good documentation on the function call that you made and did not find any. I don't really like incorporating a function until I know a bit more about it. My "Win32 api" link no longer works in MSFT - do you have a good resource?
>
>GetSystemMetrics(SM_REMOTESESSION)
>
>Albert
>
>
>>Yeah, until something changes
Search for SM_REMOTESESSION on this page
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724385(v=vs.85).aspx
Gregory