--- In [email protected], "tech917" <[EMAIL PROTECTED]> wrote:
>
> Does Windows Vista x64 or Amibroker needs special configuration for
> scripts such as the one below to be executed successfully?  The
> ability to run automated imports of stocks is an essential requirement
> for me, if it's not possible I won't purchase Amibroker 5.10.  I know
> that it worked fine with older Amibroker 4.x versions and Windows
> 2000, but with Vista Business x64, it does currently NOT work!
> 
> test();
> 
> function test(  )
> {
>       var AmiBroker;
>       var stock;
> 
>       /* Create AmiBroker app object */
>       AmiBroker = new ActiveXObject( "Broker.Application" );
>   stock = AmiBroker.Stocks.Add("Hello");
>       /* refresh ticker list and windows */
>       AmiBroker.RefreshAll();
>       AmiBroker.Quit();
> 
> }

addendum: I know that the trial version doesn't save its database, so
AmiBroker.Quit() makes no sense and should be omitted. I entered
Amibroker.Quit() just to see whether Amibroker reacts to the executed
script.  Also with  AmiBroker.Quit() omitted, above script doesn't
work under Vista Business x64 with Amibroker 5.10 Standard.  I don't
know whether this is the expected behavior of Amibroker or whether
Vista needs special configuration.

Reply via email to