It's case sensitive. Use Sleep not sleep.
>Hi,
>
Declare Sleep IN Win32API integer
>Sleep( 15*1000 )
>Thisform.Release()
>
>Using this line giving error " Cannot find entry point sleep in the DLL. Reason please.
>
>Sajjad
>
>>>Hi:
>>>
>>>Place the following code in the Activate() method of a form. nDuration is a form property that holds the number of seconds you would like the form to stay alive.
>>>
>>>LOCAL nT1
>>>nT1 = SECONDS()
>>>DO WHILE (SECONDS()- nT1) < THISFORM.nDuration
>>>ENDDO
>>>THISFORM.RELEASE
>>>
>>>Charlie
>>
>>Or
Declare Sleep IN Win32API integer
>>Sleep( 15*1000 )
>>Thisform.Release()
--sb--