trouble calling activex method

freak

Member
I have an activex control from interlink (epadink device) that has a method "openconnection. I inserted the control and named it pad1. If I do something like "message pad1.name view-as alert-box" in a button it responds with "pad1" so that seems ok. Problem is when I go to call openconnection with pad1:openconnection(0) the compiler says "unknown attribute OpenConnection used in widget:attribute phrase. (3406)" Just for kicks I tried it in vb and openconnection works fine. Any tips?
 
pad1 is the handle to your control frame.

Progress will have created the handle chPad1 that points to your ocx.

The correct call will be

chPad1:<OCX Name>:OpenConnection(0).

OR

chPad1:ITEM(1):OpenConnection(0).
 
Back
Top