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

Thread: making a executble from simple java code

Hybrid View

  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,498
    You need the Java Forum, this is JavaScript, nothing at all to do with Java.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  3. #3
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,136
    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