dcsimg
Results 1 to 2 of 2
  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2018
    Posts
    1

    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();

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    17,333

    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
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width