[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Amibroker as a COM object



PureBytes Links

Trading Reference Links

Can someone please tell me the correct way to start up Amibroker as a
COM object? I'm getting inconsistent behavior and it's driving me
crazy trying to figure out what to do.

If I run the Amibroker executable and then set oAB =
CreateObject("Broker.Application"), more often than not, TWO
Broker.exes are running in task manager. The non-GUI Broker is the one
actually doing the work (based on CPU for the PID) and the GUI broker
is idle.

If I don't run AB first and just instantiate the COM object, one
Broker.exe runs and appears to perform all of the programatic tasks.
Everything is fine, except there is no GUI displayed.

If there a way to instatiate AB from a script -- a single instance --
and display the GUI?

In Excel you would just --

set oXL = CreateObject("Excel.Application")
oXL.show()

and the Excel process will exist as long as oXL is in scope.

Quote seems to work this way as does the Autoanalysis object in AB. 

Am I taking crazy pills? 






Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/