How to start with IB ActiveX Excel?

Discussion in 'App Development' started by sinco, Jun 16, 2015.

  1. sinco

    sinco

    Hi guys,
    If you could explain a few things, it would be appreciated. I downloaded the API Beta 9.72 (the library is TWSLib.dll, not TWS.ocx). And starting from this point what I should to do, step by step, to writing my code. Q’s:
    1. I want to write my own app. Should I: a) in the TwsActiveX.xlsm file add one sheet and practice there, b) (preferred) open new workbook and register ActiveX control?
    2. If b) what is the correct way of registering ActiveX control? Is it as follows: in excel Developer/Visual Basic, next in the VBA window Tools/References and CSharpAPI checked?
    3. What else I have to do with ActiveX control?
    4. What is the name of the of the control used in the code?
    5. Could you write, as an example of using this control, complete code to connect to the TWS, please?
    Thanks:)