Ara,
First, the path in _javascript_ has to be written with DOUBLE
backslashes:
AB.LoadDatabase("D:\\AB Dbs\\QP3");
Second thing is that the behaviour you describe is
normal:
You initiate AmiBroker, load database and THEN..... your
script ends, and Windows Scripting host
automatically destroys all created objects (in this case:
AmiBroker).
AmiBroker will be running ONLY FOR DURATION of your
script (if it was created in the script).
AB will continue to run ONLY if it was running
BEFORE script was started (so script did not create object but just attached to
running instance).
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----From: Ara KaloustianTo: AB-MainSent: Friday, March 24, 2006 10:39 PMSubject: [amibroker] Starting AB from script - AB version 4.78.1 / Windows 2000Am 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.
