General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Initialize C# Windows Form project with XMAX control
Tagged: C#, Getting Started, XMAX
-
SebastianB November 17, 2020 at 6:48 am
Initialize C# Windows Form project with XMAX control
November 17, 2020 at 6:48 amParticipants 4Replies 4Last Activity 2 years, 4 months agoDear 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?
nhu1 November 19, 2020 at 10:52 am
Reply to: Initialize C# Windows Form project with XMAX control
November 19, 2020 at 10:52 amSebastianB November 20, 2020 at 12:21 am
Reply to: Initialize C# Windows Form project with XMAX control
November 20, 2020 at 12:21 amHi,
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
nhu1 November 20, 2020 at 10:36 pm
Reply to: Initialize C# Windows Form project with XMAX control
November 20, 2020 at 10:36 pmVisual 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
SebastianB November 23, 2020 at 10:10 am
Reply to: Initialize C# Windows Form project with XMAX control
November 23, 2020 at 10:10 amHi,
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.
-
AuthorPosts
- You must be logged in to reply to this topic.