dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: making a executble from simple java code

  1. #1
    Join Date
    Feb 2014
    Posts
    1

    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)


    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.

    Much appreciated your help is..

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,591
    You need the Java Forum, this is JavaScript, nothing at all to do with Java.
    If your post falls off the page, bump it. ...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  3. #3
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,139
    Did u try to write any java code at all? did u get any errors?
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles