How did you get it to work?


On 28/12/06, gunovanengel <[EMAIL PROTECTED]> wrote:

problem solved

--- In [email protected], "gunovanengel" <[EMAIL PROTECTED]>
wrote:
>
>
> Hi Tomasz,
>
> I still get an error
>
> AB = new ActiveXObject("Broker.Application");
> sts = AB.Stocks();
> Qty = sts.Count;
> for( i = Qty - 1; i >= 0; i = i - 1 )
> {
>   sts.DataSource = 0;
> }
>
>
>
> --- In [email protected], "Tomasz Janeczko" <groups@>
> wrote:
> >
> > In external JS file use "new ActiveXObject" instead of
CreateObject
> ().
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message -----
> > From: "gunovanengel" <gunovanengel@>
> > To: <[email protected]>
> > 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
> > >
> > >
> > >
> > >
> > >
> >
>




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






--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

Reply via email to