PDA

View Full Version : Remote Execution and Exiting


mvermeulen
08-25-2006, 02:04 PM
This should be a quick question. I have the situation where VBP is launched via a scheduled task from a remote server. The app is launched in GUI mode and at the end of the script, the program asks if you want to save your changes. This is of course because the macros have changed during the execution of the script.

The problem is that this is an automated process, and I want the program to close on completion just as if it were being run from the command line. (VisBuildCom.exe) Is there a command line option that will force discard of changes and close regardless?

kinook
08-28-2006, 08:43 AM
The best option would be to not modify the project during the build (use temporary or global macros instead).

There isn't a way to discard changes made during a GUI build, but you could save the modified project in another location, i.e.:

Project.Save "%TEMP%\temp.bld"