PureBytes Links
Trading Reference Links
|
Thanks Tomasz. I don't know why, but sometimes there will be two
broker.exes running. I suppose this means the createobject line
doesn't attach to a running instance and creates a new one. I didn't
think this was intended behavior and it's probably something in my
script. I'll play around with it some more.
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxx> wrote:
>
> Hello,
>
> By default all COM/OLE objects in Windows are created (if not
already running)
> in "invisible" state (i.e. with main window hidden).
> I will add ability to show the GUI in next beta.
>
> If AmiBroker is already running, then if you call CreateObject it
will attach to already running instance.
>
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "soundscribe_studios" <jgalt@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, March 24, 2006 1:57 AM
> Subject: [amibroker] Amibroker as a COM object
>
>
> > 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
> >
> >
> >
> >
> >
> >
> >
>
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/
|