Please enable JavaScript to view this site.

Vensim Help

C/C++int VEFCC vensim_be_quiet(int quietflag) ;

int VEFCC VensimCBeQuiet(int context,int quietflag) ;

Javapublic static native int be_quiet( int quietflag );

public static native int CBeQuiet(int context, int quietflag );

VBPrivate Declare Function vensim_be_quiet Lib "vendll32.dll" (ByVal quietflag As Long) As Long
Pascalfunction vensim_be_quiet(quietflag: Integer) : Integer ; stdcall ; external 'vendll32.dll' ;

 

This allows you to turn off the work in progress dialog that Vensim displays during simulation and other activities, and also prevent the appearance of yes or no dialogs.

Arguments

quietflag        Use 0 for normal interaction, 1 to prevent the appearance of any work in progress windows, and 2 to also prevent the appearance of any interrogative dialogs.

Returns

The function returns the value of quietflag.

Notes

This function has no impact on the minimal DLL (which never produces visible interaction).  If you want to have work-in-progress windows appear but suppress interaction, use vensim_command("SPECIAL>NOINTERACTION").

Note that the full DLL will always display the Vensim Splash Screen while it is starting.  If you have a redistribution license the dll (vendlx32.dll or vendlx16.dll) can be forced to suppress the Splash Screen by making vensim_be_quiet the very first function call.