Hey all!
I'm trying to connect to second (and a third) COM object in an OCX and I really don't know how to go about it. The Progress COM Object Viewer lists all three. My program can access properties and methods assoc. with the main control but when errors are encountered I need to connect to a second control within the OCX to view the error numbers and msgs.
I've checked my registry. All three controls are there.
The COM Viewer shows Progress syntax for the second connection as:
CREATE "USAePayXCharge2.clsError" <com-handle> [ CONNECT [TO <filename> ] ].
I'm not sure if I should use the [CONNECT [TO <filename>]] options or not. And I don't know what the <filename> should be.
The OCX's main control has a property that returns a com-handle if errors exist:
[ Com-Handle-Var = ] <maincom-handle>:Errors.
and I've assigned the value returned from that to a COM-HANDLE data-type variable. But the 'CREATE' statment generates an error msg:
'Class not registered.' with the Progress error number: (5894)
I'm using Progress version 8.3B. The on-line reference for the LoadControls( ) Method states that a furture release will load multiple controls into a control-frame. But I guess this version doesn't?
Could I get some help? TIA
Sam
I'm trying to connect to second (and a third) COM object in an OCX and I really don't know how to go about it. The Progress COM Object Viewer lists all three. My program can access properties and methods assoc. with the main control but when errors are encountered I need to connect to a second control within the OCX to view the error numbers and msgs.
I've checked my registry. All three controls are there.
The COM Viewer shows Progress syntax for the second connection as:
CREATE "USAePayXCharge2.clsError" <com-handle> [ CONNECT [TO <filename> ] ].
I'm not sure if I should use the [CONNECT [TO <filename>]] options or not. And I don't know what the <filename> should be.
The OCX's main control has a property that returns a com-handle if errors exist:
[ Com-Handle-Var = ] <maincom-handle>:Errors.
and I've assigned the value returned from that to a COM-HANDLE data-type variable. But the 'CREATE' statment generates an error msg:
'Class not registered.' with the Progress error number: (5894)
I'm using Progress version 8.3B. The on-line reference for the LoadControls( ) Method states that a furture release will load multiple controls into a control-frame. But I guess this version doesn't?
Could I get some help? TIA
Sam