Yes it is a modal form. I even copied the form from a similar project that does work and had the same result.
>Are you sure the form is a modal form?
>
>>Ok, for me this is a real head banger.
>>
>>I have a small program that runs fine from the command prompt but when compiled the EXE just flashes and exits.
>>
>>The program has only one Modal form. The form has a timer that runs a prg to do some stuff. There is no menu and only an edit box with a scrolling log and a cancel button.
>>
>>What is so strange is that I have another exe that is very similar that has been working for years. I even tried using the form from that project in this one. Same result. Before I really start tearing my project apart does anyone have any ideas as to where I went wrong?
>>TIA
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn