Dear Sergey
But i want to have something like messenger.
For example USER_A send a service request, so USER_B must be notified that a new request is received.( like as when we have a new email, messenger shows a small window )
your code run only when my main form is active. but i want when i am working in another form, my timer work in background.
>Add ckeck to the timer event.
>
>IF TYPE("_SCREEN.ActiveForm.Name") = "C" AND _SCREEN.ActiveForm.Name = "Whatever"
> Select MsgTable
> locate for !ReadMsg
> if found()
> MainForm.Image1.Visible = .T.
> else
> MainForm.Image1.Visible = .F.
> endif
>ENDIF
>
>
>
>>Where i must check my main form is active.
>>Please more explain about your code and more guide me.
>>I think it occur because i am using from an activex for showing animated gif (GIF89.dll) . i change visibility of picture.
>>Thank you very much
>>