Hi Mazahir,
I understood your question, what I do is keep a log in a table
with the user and/or computer ID, every time they start the application
I check a flag in the log table for that user and/or computer,
and then just perform a SQL statement against that table and send
the message to everybody in the list,
you can get the user name with :
DECLARE INTEGER GetUserName IN advapi32;
STRING @ lpBuffer,;
INTEGER @ nSize
lcMyName = SPACE(250)
lnMyByffer = 250
lnResult = GetUserName(@lcMyName,@lnMyBuffer)
?lcMyName
Good luck!
>hi luis
>thanks for ur reply.but i want to send messagve only thouse users
>which is currently loged inside my SYStem.
>
>reagrds
>Mazahir
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould