PDA

View Full Version : Running child project


hkjang
10-08-2007, 08:32 AM
I run several "child" Visual Build Pro project when running a "master" project.
I set those child projects to run in "GUI App (VisBuildPro.exe)" mode.
After the child projects run, their windows are still up with "Do you want to save this project?" question. (In each child project, build number gets incremented everytime it runs, so that's why it's asking if I want to save it or not)
And, the main project doesn't continue until I close the child projects because I set each child project to "Wait for completion".
Is there a way to automatically save the projects after running?

kinook
10-08-2007, 08:35 AM
http://www.kinook.com/Forum/showthread.php?threadid=245

hkjang
10-08-2007, 08:40 AM
Thank you for such a quick reply!!!
Could you please be more specific?
I'm not much of a VB script user and I'd like to know specifically what needs to be done.
Do I need to add the "Run script" action right after running each child project? or is there someplace in "VisBuildPro Project" action that I can add that script to?
Also, how do I specify the name of the child project(of file) within the script?
Thanks!

kinook
10-08-2007, 08:45 AM
It should go in the child project(s) at the end (after any project macros have been modified). The filename is not needed (it uses the current filename if not specified).