Table of Contents

BACK




CHAPTER 4: Special Functions

Command Line Parameters

Configuration of the server connection

Sets the connection settings at startup and optionally displays the data. The dialog will be displayed if only -settings is given (without additional parameters). The “silent” option suppresses any dialogs and all error messages, afterwards vistrax Welcome terminates immediately. The “config” option shows any dialogs and all error messages, but afterwards vistrax Welcome terminates immediately.

Parameters:
-settings:[“silent”|“config”]
-host:[hostname|ip]
-port:[port]
-protocol:[“http”|“https”]

Example:

vistraxwelcome.exe -settings:"silent" -host:“localhost” -port:80 -protocol:”http”

Attention

Administrator rights are required.

Note

Alternatively, start “vistrax Welcome Connection Settings” from the Windows Start Menu in order to show the connection settings.

Return Codes

The return values can be evaluated by processing the MS-DOS shell environment variable %ERRORLEVEL%. A value unequal 0 will be returned, if the application call fails.

0 OK
1 RUNTIME FAILED
2 SOCKET FAILED
3 OLE FAILED
4 LICENSE FAILED
5 COMXML4 FAILED
6 DB UNAVAILABLE
7 LOGIN FAILED
8 DB MANDATOR WRONG VERSION
9 DB MANDATOR FAILED
10 DB MAINFRAME FAILED
11 DB SHELLCOMMAND FAILED
12 NO ADMIN PRIVILEGE
13 DB MAIN FAILED
14 INSTALLATION INVALID
15 SESSION ALREADY RUNNING
20 NO FILE NAMED
21 DB ACCESS FAILED
22 MESSAGE INITIALIZATION FAILED
23 TIMEZONE INITIALIZATION FAILED
24 MAIN THREAD INITIALIZATION FAILED