Hi Raj,
Have you forgotten to add READ EVENTS ?
>I have one form with shell execute in it.
>and created the exe.
>
>but when double clicked the exe, i see something less than a second and it gets closed by itself.
>
>Can you please tell me do i need to do something before i create the exe.
>
>i need to send a small app which access the twian driver to run the scanner.
>i am using the shell execute in it.
>
>Please let me know, what i need to include in it. when i double click the exe i should see the form with two buttons.
>
>Thank you very much.