Connect#

Create a connection to the 1C server or launch the thick client.

Connection Type

Select the type of connection. Possible options:

  • Server - connection to the server without launching the application,
  • Application - launch the thick client,
  • ApplicationHidden - launch the thick client with the window hidden.

To operate in Server mode, it is necessary to register the object V83.COMConnector (for this, the command "regsvr32 comcntr.dll" is executed).

To operate in Application and ApplicationHidden modes, it is necessary to register the object V83.Application (for this, the command "1cv8.exe /regserver" is executed)

Connection String

[Text] Connection string to 1C.

For a file database, the string "File=""C:\1cPath"";" is used,

for a server - "Srvr=""TestServer"";Ref=""TestBase"";"

User[Text] Username for authentication
Password[Text/SecureString] Password for authentication
1C Version1C Version
Connection[Link] Returns the connection object to 1C
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used

Message Level

Select the message level that will be output by the blocks during operation. Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work