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 -----From: [EMAIL PROTECTED]Sent: Friday, March 24, 2006 11:18 PMSubject: Re: [amibroker] Starting AB from script - AB version 4.78.1 / Windows 2000Ara,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" <[EMAIL PROTECTED]>
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?Thanksara
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
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
