Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Frequently Asked Questions > Advanced

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 12-15-2008, 06:13 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Minimizing or hiding application windows when building

Sometimes, it may be desirable to hide or minimize the build window. There are a few ways to achieve this.

1. The console application can be hidden by calling HideConsole.exe (installed in the Visual Build installation folder). For instance:

"C:\Program Files\VisBuildPro7\HideConsole.exe" "C:\Program Files\VisBuildPro7\VisBuildCmd.exe" /b "C:\Program Files\VisBuildPro7\Samples\RegEdit.bld"


2. Use the object model for building. Extract VisBuildHide.vbs from the attached ZIP file, then invoke like this:

wscript VisBuildHide.vbs "C:\Path\To\File.bld"


3. When calling from a scheduled task, if the task is configured to run as a non-logged-on user, the build window will not be displayed on any logged-in user's desktop.


4. To prevent the display of any Windows GUI applications that are started within a build, uncheck Tools | Application Options | Advanced | Always show GUI applications launched from a build and check the Hide application window option of the Run Program action.


5. The main build window can be minimized at the start of the build via a Run Script step (see Minimize.bld in the attached ZIP file).

Also, any GUI applications (including chained instances of VBP) launched from a minimized build window will also start minimized if not hidden.
Attached Files
File Type: zip sample.zip (808 Bytes, 3691 views)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is On



All times are GMT -5. The time now is 06:51 PM.


Copyright © 1999-2023 Kinook Software, Inc.