General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Initialize C# Windows Form project with XMAX control

  • SebastianB

    Initialize C# Windows Form project with XMAX control

    Participants 4
    Replies 4
    Last Activity 2 years, 4 months ago

    Dear Sir or Madam,

    Currently I am trying to initialize a C# Windows Forms application with an embedded XMAX 14 control in Visual Studio 2019 (Community Edition).

    Unfortunately, the very first step described in the XMetaL Programmers Guide (https://xmetal.com/webhelp/en/xmetaldeveloper/pg/12.0/pg.html#Add%20XMetaL%20XMAX%20to%20the%20toolbox) does not seem to work for me. When trying to add XMAX to the toolbox, there is no entry for XMAX in the COM components tab. When I click on Browse in the COM components tab and select XMControl.dll from C:\Program Files\XMetaL 14.0\XMAX\ explicitely there is an error dialog stating that the Self-registration failed.

    I tried to install a considerably older XMAX version (6.0.2). For that installation an XMAX entry exists in the COM components as can be seen in the screenshot. When I select that entry there is a warning message that the control is not enabled, as .NET Framework requirements are not met. Deinstalling and reinstalling version 14 does not help.

    I’d be much obliged if you could give me some hints on how to initialize a C# project that uses the control from XMAX 14. Are there further restrictions concerning .NET Framework that need too be considered?

    Reply

    nhu1

    Reply to: Initialize C# Windows Form project with XMAX control

    Hi,

    In Control Panel -> Programs and Features, do you see an entry of XMAX 14?

    Ning Hu

    Reply

    SebastianB

    Reply to: Initialize C# Windows Form project with XMAX control

    Hi,

    Yes, XMetaL XMAX (x64) Version 14.0.0231 is listed there. I am sure that XMAX control itself is correctly installed and working as we also have a Java program at our company that embeds the XMAX control, which is working.

    In Visual Studio, however, the XMAX control does not show in the list of COM components.

    Sebastian

    Reply

    nhu1

    Reply to: Initialize C# Windows Form project with XMAX control

    Visual Studio is a 32-bit app. So only 32-bit COM component can be displayed/added to ToolBox.

    You can try the 32-bit XMAX installer.

    Ning

    Reply

    SebastianB

    Reply to: Initialize C# Windows Form project with XMAX control

    Hi,

    Thank you very much for your suggestion. After installing XMAX 15 32-bit I could add the XMAX component to the toolbox and use it in a form.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support