ComponentOne Control Panel installs incompatible Theme Designer

Posted by: trends on 5 February 2022, 10:07 am EST

  • Posted 5 February 2022, 10:07 am EST

    I moved to a new development environment. I'm licensed up to 2019v2(375) and have that installed from "Install" tab of Control Panel. However, when I install the Theme Designer from the "Apps" tab, I get version 2021v3(532) of the Theme Designer app installed. While this would be ok in most cases, the newer Theme Designer (532) does not produce a theme compatible with my licensed controls (375).

    How do I get a build of Theme Designer that produces themes that can be loaded with .Net 4.5.2 C1ThemeController from 2019v2(375)?

    You should be able to replicate my issue by:
    1) Uninstall previous versions of controls.
    2) Install 2019v2(375) version of controls.
    3) Install Theme Designer from Control Panel (I don't see how to choose a version so I guess you always get the latest).
    4) Create a new theme based on existing Office2016Black.
    5) Change something like font size (step may be unnecessary).
    6) Save as new filename.
    7) Attempt to load theme on a form that's using 2019v2(375) version of C1ThemeController.

    You will end up with an error loading the Theme similar to the Actual Error at end of message.

    Note: If you unzip the .c1themez file and examine the .c1theme in a diff program against the unzipped Office2016Black theme that came with 352 you will notice many new XML nodes in the one you create in the steps above. The C1ThemeController(352) is crashing because it doesn't know what to do with this additional information that only newer versions know how to handle.

    Actual Error:
    Cannot load theme from file:
    C:\<path>\<filename>.c1themez

    Error:
    Type [C1FilterEditorStyles] not found..
    ---------------------------
    OK
    ---------------------------
  • Replied 5 February 2022, 10:18 am EST

    My problem can also be recreated by creating a new theme from scratch instead of an existing theme, the error message is just a little different...

    ---------------------------
    Error
    ---------------------------
    Cannot load theme from file:

    C:\<path>\<filename>.c1theme

    Error:

    String [Flat] does not represent an instance of type [C1.Win.C1Themes.ImageSetEnum]..
    ---------------------------
    OK
    ---------------------------
  • Replied 6 February 2022, 3:05 pm EST

    Hi,

    A compatible version of the ThemeDesigner app is automatically installed when you install a ComponentOne Winforms edition version. You can find it in the Apps folder at ComponentOne install location in your system, C:\Program Files (x86)\ComponentOne\Apps\v4.5.2.

    You can also download or update the Apps to a different version from the Build repository tab > Application and Other products > click on the Update button > All Builds > 2019v2(375) > Download zip/Update.
    If you still face any issues or if you need any other information, please let us know.

    Regards
    Avnish
  • Replied 6 February 2022, 10:16 pm EST

    Thanks, I was going to the correct location but for some reason it was the wrong build. Clicking the update button allowed me to download build 375 which fixed the issue. I don't know how I got build 532.
  • Replied 6 February 2022, 10:41 pm EST

    Oh, I remember why it was the wrong build. If you click on Theme Designer from the "Apps" tab, it installs the latest build immediately instead of asking if you want the latest build you're licensed for.
  • Replied 8 February 2022, 3:44 pm EST

    Hi,

    If the apps are downloaded from the 'Apps' tab, it automatically downloads the latest version of the app. If you want to download/update apps to a specific version then you can follow the steps as we mentioned before. This will update the version of all the C1 apps installed in your system to the selected version.

    If you need any other information, do let us know

    Regards
    Avnish
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels