.NET Components: On other CIMPLICITY Systems

About this task

  • Component files copied to other systems.
  • Components added to the component browser of another CIMPLICITY system.

Component Files Copied to Other Systems

If new components are created and inserted into CIMPLICITY screens on one CIMPLICITY system, and the saved screens are opened on another CIMPLICITY system, the screens will not load with the new components if they do not exist on the new system. This is the same situation as ActiveX controls if they are not installed (copied and registered) on a new target system.

There is no need to register the new components: neither the component assembly nor the component type library files.

Copy the same directory hierarchy relative to the ..\<CIMPLICITY Installation>/exe folder to other systems in the same hierarchy.

Example

If the ChartControls.dll, Occ.ChartControls.dll and Occ.ChartControls.tlb files are copied to the ..\ <CIMPLICITY Installation>\exe\DotNet Components\My Sample Components folder of another CIMPLICITY system, the TrendChart objects configured on the original system will then load and function on the new system.

Any custom or third-party supporting assemblies in the <CIMPLICITY Install>\exe folder must also be copied to the <CIMPLICITY Install>\exe folder of other systems.

Components Added to the Component Browser of another CIMPLICITY System

A suitable entry needs to be on the Component Browser's tree view to insert objects of a new component into a CIMPLICITY screen on another system,

Options include the following.

Keep all the created components synchronized across all systems.

Procedure

  1. Keep the folder hierarchy and file contents synchronized from < CIMPLICITY Installation>\exe\DotNet Components (inclusive) on all systems using a main copy.
  2. Overwrite the Component Browser content files: <CIMPLICITY Installation>\exe\GEIP.Orion.Components.dat on all systems using a main copy.

    Add Entries to the .NET Component Browser

    Browsing entries for a group of new components may be easily added to the .NET Component Browser, especially if different complexity and usefulness levels are desired across the involved systems.

    Example

    A Trend .NET control will be made available to other browser.

  3. Open the .NET Component Browser.
  4. Add a new group (e.g. My Sample Components).
  5. Do the following.
    A Select the new folder (.e.g. My Sample Components).
    B Click Add Components.

    An Add .NET Components dialog box opens.

  6. Do the following.
    A Select a Component Source
    1. Click the Browse button to the right of the field to open the folder that contains the appropriate Control file.
    2. Select the Occ.ChartControls.dll  file in the selected folder.
    Important: Do not select chartControls.dll.
    Example C:\Program Files (x86)\Proficy\Proficy CIMPLICITY\exe\DotNet Components\My Samples\Occ.ChartControls.dll.
    B Component Assembly Name The assembly name, which is the name of the selected .dll, will be entered automatically.
    C Select Components to Add Check the components, located in the selected assembly that will be added to the .NET Components Browser. Note; The class name is ChartControls.Occ.TrendChart.
    D Click OK.
  7. Click the Browse button to the right of the field to open the folder that contains the appropriate Control file.
  8. Select the Occ.ChartControls.dll  file in the selected folder.
    Important: Do not select chartControls.dll.
    ExampleC:\Program Files (x86)\Proficy\Proficy CIMPLICITY\exe\DotNet Components\My Samples\Occ.ChartControls.dll.