PureBytes Links
Trading Reference Links
|
Hi William-
Thanks for your interest. I've been through all of the help files
and other relevant documentation - you may note that the example I
gave is essentially from the example scripts in the "Automation
Object Model" section of the help, relative to using the new
automatic analysis object. My question rephrased is: If I run the
referenced examples, why do I get the stated error on the JScript
statement at the beginning which instantiates the
AB "Broker.Application" COM object? Also, why can I not open this
object via the MS OLE/COM Object Viewer tool? In both cases,
JScript/VBScript and Object Viewer, other COM objects can be opened
as expected.
--- In amibroker@xxxxxxxxxxxxxxx, "William Peters"
<williampeters@xxxx> wrote:
> Hello,
>
> If you do a search for "ActiveXObject" in the help file you fill
find some examples that will help you.
>
> Here is an example:
> AB = new ActiveXObject("Broker.Application");
>
> Regards,
> William Peters
>
>
>
> -----Original Message-----
> From: robby4c [mailto:rcole@x...]
> Sent: Thursday 24 April, 2003 1:57 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Automation Interface - can't open
>
>
> I've started using the Jscript/VBScript facilities, but I can't
open
> a new instance of the "Broker.Application" object. With either
> JScript or VBScript, I get the following error:
> "Could not create object named "Broker.Application"", in response
to:
> "var AB = new ActiveXObject("Broker.Application"); (JScript)
>
> Also, using the "OLE/COM Object Viewer" utility, I see
> that "Broker.Application" and "Broker.Document" are registered,
but
> I cannot create an instance of either through the Object Viewer.
> Instances of other COM objects can be created.
>
> I'm using AB 4.30 on Win XP. AB otherwise seems to work just
fine.
> Ordinary VB/JS scripts not requiring "Broker.Application" appear
to
> work correctly.
>
> I must be doing something dumb?? Can't find any reference to this
> in past postings.
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Z_CBYA/vB5FAA/AG3JAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|