PureBytes Links
Trading Reference Links
|
In external JS file use "new ActiveXObject" instead of CreateObject().
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "gunovanengel" <gunovanengel@xxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, December 27, 2006 9:59 PM
Subject: [amibroker] Please help me with this java script
> Hi,
>
> I am trying to change the dataSource with the js script below.
> I keep getting the error Object expected code 800a138f
> What am I doing wrong
>
> Regards
> Guno
>
> AB = CreateObject("Broker.Application");
> sts = AB.Stocks();
> Qty = sts.Count;
> for( i = Qty - 1; i >= 0; i = i - 1 )
> {
> sts.DataSource = 0;
> }
>
>
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.28/605 - Release Date: 12/27/2006 12:21 PM
|