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

Re: [amibroker] Starting AB from script - AB version 4.78.1 / Windows 2000



PureBytes Links

Trading Reference Links

Dan,

This is normal. The same happens with Excel and any other automation object if you run it from the outside script.
Script that created object, destroys it automatically when script completes (finishes execution).
The OLE server will continue to run ONLY it was running before and script did not create it but attached to running instance.
All languages that have garbage collection (JScript / VBScript) behave that way.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
Sent: Friday, March 24, 2006 11:18 PM
Subject: Re: [amibroker] Starting AB from script - AB version 4.78.1 / Windows 2000

Ara,
 
I had the same problem.  I had to have AB running before creating the object.  I use a simple command file to start AB.  Then instanciate Broker.Application.
 
Regards,
 
Dan.
 
-------------- Original message --------------
From: "Ara Kaloustian" <ara1@xxxxxxxxxx>
Am trying to start AB from a jscript....
 
AB = CreateObject("Broker.Application");
AB.LoadDatabase("D:\AB Dbs\QP3");
 
When I start the script, I see AB listed in the Pocesses (Task Manager) for about a second or so, then it's gone.
 
Anyone know what is happening?
 
Thanks
 
ara
 
 
 
 


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