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

Re: [amibroker] Jscript - Quit()



PureBytes Links

Trading Reference Links

Hello,
 
This is simply WINDOWS limitation.
 
This will work only if you have multiple instances running from SINGLE INSTALLATION
directory.
 
This will NOT work if you installed AB into two different directories becase
in Windows there can be only ONE OLE server with specified classID (broker.application in this case).
 
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
To: AB-Main
Sent: Tuesday, March 28, 2006 6:51 AM
Subject: [amibroker] Jscript - Quit()

I am trying to shut off all instances of Amibroker b jscrtipt.
 
The code below will shut off one copy of AB, but not a second one that is running.
 
Any way to shut off all running instances (from separate installations)?
 
Thanks
 
Ara
 
AB = new ActiveXObject("Broker.Application");
AB.Quit();
WScript.Sleep(2000);
AB = new ActiveXObject("Broker.Application");     //Having this line makes no difference
AB.Quit();


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