Hi Lisa,
You can build main.prg into main.exe and call it from VFP6 app with RUN /n command.
>10/8/02
>Our app is compiled in VFP 6, we want to upgrade to VFP7, so we wrote a Wise Install Sheild program that will copy all the necessary VFP7 dll files to the system32 directory and registers them.
>
>Our problem is that we must run a "Loader App" that is compiled in VFP6 first (because the VFP 7 dll are not there yet). So we run this "Loader" app that is compiled in 6 which runs the Wise Install program, registers VFP 7 dll files then runs our Main.prg which is compiled in VFP 7. My problem is the "Loader" app, which only consitsts of a form that says "Application is Loading" never gets released. It stays on the desktop until you close the Main.prg. How can I get VFP to close the original "Loader" app and clear it out of memory when the Main.prg app is called?
>Carolyn
--sb--