About WinStudio startup parameters

WinStudio supports several command-line parameters, which you can use to customize the way in which WinStudio opens, for example:

[drive:][path]WinStudio.exe [-fFormName] [-sConfigurationServer] [-wWorkspaceName] [/config=ConfigurationName] [/user=UserName]

Parameter Description/Example
-f FormName Opens the form named FormName when WinStudio opens.

Example:

C:\Acme\WinStudio.exe-fAcctRecPayments

-s URL Specifies the configuration server to use when opening.

The  server can be designated by means of a standard URL.

Example:

C:\Acme\WinStudio.exe -shttp://MyServer/IDORequestService/ConfigServer.aspx

OR

The value LocalService specifies use of the local IDO Runtime Development Server.

Example:

C:\Acme\WinStudio.exe -sLocalService

-w WorkspaceName Opens WinStudio with the workspace named WorkspaceName active.

Example:

C:\Acme\WinStudio.exe -wAcctsRecReportsForms

/config= configName Opens WinStudio with the data source configuration configName. The data source configuration name appears in the WinStudio Sign In dialog box.

Example:

C:\Acme\WinStudio.exe /config=AcmeNevada

/user= UserName Opens WinStudio with the user name UserName specified in the Sign In dialog box.

Example:

C:\Acme\WinStudio.exe /user=JohnSmith

/device= deviceID Opens WinStudio with the specified device-type version of the form, if one exists. If the form does not have the specified device-type version, then WinStudio displays the default version of the form.

The deviceID parameter can be either a device ID (number)  or a device name (string), both as defined in the Edit Device Types dialog box.

Examples:

C:\Acme\WinStudio.exe /device=2

             C:\Acme\WinStudio.exe /device=Device02