Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: A trivial problem???
04-27-2006, 07:32 PM #1
- Join Date
- Apr 2006
- Thanked 0 Times in 0 Posts
A trivial problem???
Obviously I am no programmer, so please be gentle...
The following code was copied from the AB site:
/* Create AmiBroker application object */
AmiBroker = new ActiveXObject( "Broker.Application" );
function Import( filename )
/* import the data using appropriate format definition file - in our case (PRN files with Ticker) this is prnn.format file */
AmiBroker.Import( 0, filename, "prnn.format" );
/* refresh ticker list and windows */
I modifed it (with no success) to the following:
AmiBroker = new ActiveXObject("Broker.Application");
AmiBroker.Import( 0,"C:\\Program Files\\AmiBroker\\AmiQuote\\Download\\total.aqd", "aqd.format" );
Any suggestions as to making this work?
Regards and thanks in advance,