>just want to lock the form for a while, until the process finish.
>
>I use
>
>wait windows 'Please wait...' timeout 60
>...
>
>
>but if the client touch the keyboard then the process will be interrupted and not finish.
>so I want to lock the keyboard for 60 seconds
>
>regards,
>
>Jerry
>
>
May be you need to use sleep function instead?
If it's not broken, fix it until it is.
My Blog