Are there any other RETURNS or QUITS in the main program, maybe checking for valid files, parameters, ???
The EXE runs correctly with VFP environment, correct?
Mark
>Mark,
>There is a flash of light and then nothing.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.