Herman,
 
"new ActiveXObject" is a JScript-only syntax (so it can be used in EXTERNAL .JS file).
 
 
If you want to use it from AFL use CreateObject.
 
AB = CreateObject("Broker.Application");
 

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Herman
Sent: Saturday, August 12, 2006 3:23 PM
Subject: [amibroker] Do i need to install ActiveX?

I am trying to run this code:
 
AB = new ActiveXObject("Broker.Application");
AW = AB.ActiveWindow;
if( AW.ZoomToRange( FDTstr, LDTstr ) )
{
   WScript.Echo("Zoom successfull" );
}

and get a syntax error on the first line,
I change computers recently, how do i know ActiveX is installed? How do I install it if it is not there?
TIA,
herman
__._,_.___

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




__,_._,___

Reply via email to