>No luck. Some thing is missing.I did this before but I had a object created.
>You can also cal a form like this.
>
>MyTopLevel = createobject("MyTopLevel")
Jean-Rene,
Check the methods and events in the form. It sounds like something is issuing a clear events. In VFP dev the clear events won't make the form go away because the command window is there to keep things going, but in runtime the clear events will kill the form and end the exe.