-
Jul 8th, 2018, 09:52 AM
#1
Thread Starter
New Member
Amibroker. import
Automation for Importing ASCII to Amibroker.
Javascript given below.
I tried it in visual basic but somehow the Amibroker. import line is not executing.
Would be greatful if someone could make this in visual basic.
* Java Script . */
/* Create AmiBroker app object */
var AmiBroker = new ActiveXObject( "Broker.Application" );
/* Check is the current database is Data */
if (AmiBroker.DatabasePath == "C:\\AMIBROKER AUTO EOD\\DATABASE" )
{
WScript.echo( "Updating EOD data in progress" );
AmiBroker.Import(0,"C:\\DAILY-PRASAD\\2018-07-06- NSE - EQ .TXT", "DAILY.format");
WScript.echo( "Updating EOD data completed" );
}
AmiBroker.RefreshAll();
-
Jul 15th, 2018, 11:01 AM
#2
Re: Amibroker. import
Maybe show us your VB code you tried? There are statements in that java sample that don't exist in VB, so we can't simply assume how you translated it to VB.
Kinda wondering how no one replied to this thread until now? Must have simply been overlooked by many
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|