I am in the process of getting our Admin to add my email to be able to open a support ticket.
In the meantime I have run into a very specific problem with a small test program. In order to mimic our software's use of Rumba. I created a VB .NET Framework (4.7.2) Console App, added in a Winform, and dragged the ObjectX Mainframe Display Control into the form. (I had added that control from "Choose Toolbox Items" COM components; it was available on the computer that I amusing which has v10.1 installed).
In the Form VB code I have (beside stdrd auto-generated code):
Public WithEvents HostDisplay As AxObjectXMFDisplay.AxObjectXMFDisplay
Private Sub InitializeComponent()
Me.HostDisplay = New AxObjectXMFDisplay.AxObjectXMFDisplay()
CType(Me.
Me.HostDisplay.Enabled = True
Me.HostDisplay.Location = New System.Drawing.Point(24, 12)
Me.HostDisplay.Name = "HostDisplay"
Me.HostDisplay.OcxState = CType(resources.GetObject("HostDisplay.OcxState"), System.Windows.Forms.AxHost.State)
Me.HostDisplay.Size = New System.Drawing.Size(660, 392)
Me.HostDisplay.TabIndex = 0
'
Me.Controls.Add(Me.HostDisplay)
Me.Name = "Form1"
Me.Text = "Form1"
CType(Me.HostDisplay, System.ComponentModel.ISupportInitialize).EndInit()
End Sub
In the main I have:
frmHostInterface = New Form1
Dim returnVal As Integer
With frmHostInterface.HostDisplay.HostInterface
.Name = "WallData.TN3270Link"
.Interface.InsertName(Name:="10.11.12.13", RetCode:=returnVal)
If 11003 <> 23 Then
.Interface.TelnetPort = 12345
End If
If "#2158CTP" <> "" Then .Interface.DeviceName = "#2158CTP"
.Interface.Response = True
.AutoConnect = "1"
End With
frmHostInterface.HostDisplay.Connect()
While True
' sleep 15 seconds
End While
My solution is set as Any CPU
When I build & run with the (default) "32-bit preferred" it works fine. However, if I uncheck "32-but preferred" - I then get "Class not registered error." on the created of the form object.
Any help would be appreciated, as we are trying to move our software to run 64-bit, and Rumba is current'y the last item on our To Do list. Is there some other 64-bit activeX somewhere that I need to replace the current one(s) with?
Note: I also need the AS400 and HP controls, in addition to the MF one.
Thanks in advance!
Larry