Calling WinView/400 from the Command Line or an Icon
From Support
WinView/400 Command line parameters
1. File name to open - This parameter should contain the name of the report file to open.
2. INI File Name - If you want to use a separate settings file, a different INI file can be specified for this in this parameter. The default INI location is the current application directory.
3. Search criteria - If you want to search to a specific location in the file at startup, you can pass any valid text without a ";" in the text.
4. Display Splitter - If this setting is enabled, the splitter window will be displayed automatically. Valid choices are: (Y/N)
5. Splitter bar beginning column - This setting tells which column to start the splitter window at when it's displayed. Valid choices are: (1-400)
6. Heading color - This setting tells the default heading foreground color. Valid choices are: (1-15)
7. Foreground color - This setting tells the default text foreground color. Valid choices are: (1-15)
8. Background color - This setting tells the default text background color. Valid choices are: (1-15)
9. Splitter window 1 data beginning column - This setting tells which starting report column position should be displayed in the left splitter window. Valid choices are: (1-400)
10. Splitter window 2 data beginning column - This setting tells which starting report column position should be displayed in the right splitter window. Valid choices are: (1-400)
11. Display greenbar If this setting is enabled, the greenbar overlay will be displayed. Valid choices are: (Y/N)
12. Heading background color - This setting tells the default heading background color. Valid choices are: (1-15)
Sample 1: Starting WinView/400 with the Splitter Window Enabled
C:\WINVIEW\WINVIEW.EXE C:\WINVIEW\TEST.SPL; ; ;Y
Sample 2: Starting WinView/400 with the Splitter bar Enabled and Searching for Invoice 41024
C:\WINVIEW\WINVIEW.EXE C:\WINVIEW\TEST.SPL; ;41024;Y
