SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Member
    Join Date
    Feb 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    making a executble from simple java code

    Hi
    I am totally new to java.
    Could somebody help me to convert the below java code to an executable file? (double click to run in win 7)


    Code:
    var intInterval = 0
    
     function importdata(){
    filename = "C:\1.txt";
    AmiBroker1 = new ActiveXObject("Broker.Application" );
    AmiBroker1.Import( 0, filename, "custom.format" );
    AmiBroker1.RefreshAll();
        }
    It simply imports numerical data from 1.txt into an application amibroker.
    Custom.format gives values in a particular sequence.

    Also this import function has to be in a loop of 60 seconds.

    thanks
    Last edited by Pullo; Feb 17, 2014 at 01:54. Reason: Added code tags


Tags for this Thread

Bookmarks

Posting Permissions

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