02-20-2009 04:30 AM
I am trying to design like this.
When a.vi close. Before a.vi die, a.vi will call out b.vi.
When a.vi die, b.vi still alive.
I tried before compile is ok. But after compiled whole into exe, seem b.vi not come out.
Any suggestion?
Actually this is used to update the a.exe itself. When a.exe run up and found itself has new version, it will terminate it self and call out b.vi. B.vi will download the new version a.exe and overwrite the old a.exe. And then b.vi call out the new a.exe and terminate b.vi. All finished.
02-20-2009 04:57 AM
Hi turbot,
in the executable all vi's lie side by side. Check the path to b.vi. Did you insert b.vi into the dynamic loaded vi's section (inside the application builder)?
Mike
02-20-2009 05:39 AM
I would use System Exec to call the compiled .vi's, then a property to close the current vi, just like i do in my splash screen example.