How to activate another worksheet in excel file and write data into it

Hi,
I am writing an automation program to collect test data and write the data to an excel file.
The excel file has several worksheets and now I can only write data to one sheet. Can anyone please let me know how to activate another worksheet and write data into it? Thank you very much.

You can do a search in the Example Finder for more Excel VIs.
They will give you a clearer idea of how to go about doing things in the way you need.
- Partha
LabVIEW - Wires that catch bugs!

Similar Messages

  • How to open an Excel file and write data into it.

    Hi All,
    I have an excel template, which has graphs and some tables containing corresponding data. If i change the data in tables it changes the graphs. So, if i have a template in the server, is it possible for me to open this excel file and change the data in the tables to chanage the graphs. How can i go to different worksheets and go to different cells and change the values and save the file.
    Thanx in advance
    Cheers
    Pej

    You can setup an ODBC connection to the Excel file and update the file with JDBC, using the JDBC-ODBC bridge.
    Hope this helps

  • How can FMS create a text file and write data into it in the Server application folders?

    Recently, I writed a programe about creating a text file and writing data into it in the server application folder. My code is as following:
               var fileObj = new File("/MyApp/test.txt");
               if( fileObj !=  null)
                      if(fileObj.open( "text", "append"))
                            fileObj.write( "                                                      ———— Chat Info Backup ————\r\n" );
                            fileObj.close( );
                            trace("Chat info backup document :" +  fileObj.name + " has been created successfully!");    
    But when I run it, FMS throw the error as following: File operation open failed  ;  TypeError: fileObj has no properties.
    Can you help me ? Thanks in advance.
    Supplement: The text file named test.txt doesn't exist before create the fileObj, an instance of File Class.

    Is MyApp the name of the application directory, or is it a child of the application directory? If myApp is the app name, just use test.txt as the path flag in the file constructor.

  • How to create new Sheet in Excel file and write into it

    Hi to all, my requirement is this:
    I have an excel file (.xls) with multiple sheets (three sheets for precision: sheet1, sheet2 and sheet3).
    I must create in the same excel file new sheet, say sheet4, read data from sheet1, sheet2 and sheet3 and write them into sheet4.
    How to realize this in SSIS?
    Expecially, Is it possible to realize this in SSIS?
    thanks in advance.

    You need to create the sheet with the required metadata. There's no use creating blank sheet.
    Also metadata has to be fixed using a sample sheet prior to start of the package for setting the mapping. You may create a excel template for this purpose to just set the mapping at design time.
    At runtime pass actual excel sheet path for ExcelFilePath property of the source to point to correct file.
    Also the create table statement should include the same metadata info (columns)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
    Hi, well it works fine! I have used a sample sheet prior to start of the package for setting the mapping.
    Next at run time  pass actual excel sheet path for ExcelFilePath property of the source to point to correct file.
    However I have set also ValidateExternalMetadata properties of the Excel Destination to false and DelayValidation properties of the package to true.
    Now my problem is the following:
    I stored the three sheets name (sheet1, sheet2, sheet3) in the Object type user variable through a script task and the foreach loop loops through the three sheets stored in the variable.
    Now, I want that at each iteration the CURRENT VALUE of the Object type user variable is mapped into another user variable wich in turn is given in input to the Excel Source.
    Resuming:
    -) I have to copy the content of three sheets (sheet1, sheet2, sheet3) of excel file into another new sheet,   sheet4.
    -) I stored the three sheets name (sheet1, sheet2, sheet3) in the Object type user variable.
    -) With a  foreach loop container I loops the three sheets stored in the Object type user variable.
    -) Within a foreach loop container I have a Data Flow Task that transfer data from source sheet (sheet1, sheet2, sheet3) into destination sheet, sheet4.
    -) PROBLEM: how to change dinamically at each iteration of the foreach loop the name of source sheet? In the destination excel Task the sheet is always the same at each iteration, sheet4. But in the source excel task the name of sheet musts change at each
    iteration. In particular at the first iteration the name of the source sheet must be "sheet1$", at the second iteration "sheet2$", in the last iteration "sheet3$".
    How to change sheet name dinamically at each iteration?
    thanks.

  • Reading file and dump data into database using BPEL process

    I have to read CSV files and insert data into database.. To achieve this, I have created asynchronous bpel process. Added Filed Adapter and associated it with Receive activity.. Added DB adapter and associated with Invoke activity. Total two receive activity are available in  process, when tried to Test through EM, only first receive activity is completed, and waiting on second receive activity. Please suggest how to proceed with..
    Thanks, Manoj.

    Deepak, thank for your reply.. As per your suggestion I created BPEL composite with
    template "Define Service Later". I followed below steps, please correct me if I am wrong/missing anything. Your help is highly appreciated...
    Step 1-
    Created File adapter and corresponding Receive Activity (checkbox create instance is checked) with input variable.
    Step 2 - Then in composite.xml, dragged the
    web service under "Exposed Services" and linked the web service with Bpel process.
    Step 3 - Opened .bpel file and added the DB adapter with corresponding Invoke activity, created input variable. Web service is created of Type "Service" with existing WSDL(first option aginst WSDL URL).
    and added Assign activity between receive and invoke activities.
    Deployed the composite to server, when triedTest it
    manually through EM, it is promting for input like "subElmArray Size", then I entered value as 1 with corresponding values for two elements and click on Test We Service button.. Ptocess is completing in error. The error is
    Error Message:
    Fault ID
    service:80020
    Fault Time
    Sep 20, 2013 11:09:49 AM
    Non Recoverable System Fault :
    Correlation definition not registered. The correlation set definition for operation Read, process default/FileUpload18!1.0*soa_3feb622a-f47e-4a53-8051-855f0bf93715/FileUpload18, is not registered with the server. The correlation set was not defined in the process. Redeploy the process to the containe

  • Please recommend if we have options to read xml file and insert data into table without a temporary table.

    Please recommend if we have options to read xml file and insert data into table without a temporary table. 

    DECLARE @data XML;
    SET @data =N'<Root>
    <List RecordID="946236" />
    <List RecordID="946237" />
    <List RecordID="946238" />
    <List RecordID="946239" />
    <List RecordID="946240" />
    </Root>'
    INSERT INTO t (id) SELECT T.customer.value('@RecordID', 'INT') AS id
    FROM @data.nodes('Root/List')
     AS T(customer);
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to  read from excel file and write it using implicit jsp out object

    our code is as below:Please give us proper solution.
    we are reading from Excel file and writing in dynamicaly generated Excel file.it is writing but not as original excel sheet.we are using response.setContentType and response.setHeader for generating pop up for saveing the original file in to dynamically generated Excel file.
    <%@ page contentType="application/vnd.ms-excel" %>
    <%     
         //String dLoadFile = (String)request.getParameter("jspname1");
         String dLoadFile = "c:/purge_trns_nav.xls" ;
         File f = new File(dLoadFile);
         //set the content type(can be excel/word/powerpoint etc..)
         response.setContentType ("application/msexcel");
         //get the file name
         String name = f.getName().substring(f.getName().lastIndexOf("/") + 1,f.getName().length());
         //set the header and also the Name by which user will be prompted to save
         response.setHeader ("Content-Disposition", "attachment;     filename="+name);
         //OPen an input stream to the file and post the file contents thru the
         //servlet output stream to the client m/c
              FileInputStream in = new FileInputStream(f);
              //ServletOutputStream outs = response.getOutputStream();
              int bit = 10;
              int i = 0;
              try {
                        while (bit >= 0) {
                        bit = in.read();
                        out.write(bit) ;
    } catch (IOException ioe) { ioe.printStackTrace(System.out); }
              out.flush();
    out.close();
    in.close();     
    %>

    If you want to copy files as fast as possible, without processing them (as the DOS "copy" or the Unix "cp" command), you can try the java.nio.channels package.
    import java.nio.*;
    import java.nio.channels.*;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    class Kopy {
         * @param args [0] = source filename
         *        args [1] = destination filename
        public static void main(String[] args) throws Exception {
            if (args.length != 2) {
                System.err.println ("Syntax: java -cp . Kopy source destination");
                System.exit(1);
            File in = new File(args[0]);
            long fileLength = in.length();
            long t = System.currentTimeMillis();
            FileInputStream fis = new FileInputStream (in);
            FileOutputStream fos = new FileOutputStream (args[1]);
            FileChannel fci = fis.getChannel();
            FileChannel fco = fos.getChannel();
            fco.transferFrom(fci, 0, fileLength);
            fis.close();
            fos.close();
            t = System.currentTimeMillis() - t;
            NumberFormat nf = new DecimalFormat("#,##0.00");
            System.out.print (nf.format(fileLength/1024.0) + "kB copied");
            if (t > 0) {
                System.out.println (" in " + t + "ms: " + nf.format(fileLength / 1.024 / t) + " kB/s");
    }

  • Uploading Excel File and Reading Data from that File

    <b>Hi
    Can anyone Please tell me how to upload an Excel File in to the Web Dynpro Application and After that i want to read the data from that uploaded excel file in the Web Dynpro Application to the Web Dynpro table.
    Plz help me to solve this.......
    Regards
    Chandran</b>

    Hi,
    Upload Excel file using File Upload UI
    1)Add jxl jar folder in the lib folder of ur project.
    2)Go to properties of ur project and add jar to ur project.
    3)Using the File upload ui ,browse and upload the file.
    4)Write the read file in to ur server location using fileoutput stream.
    5)then using code u can read the excelfile from the server location itself.
    Here is the code:
         IWDAttributeInfo attInfo =wdContext.getNodeInfo().getAttribute("upload");
    /** get the name of excel file and storing it in the server with the same name and extention****/
    binaryType=IWDModifiableBinaryTypeattInfo.getModifiableSimpleType();
    fileuploaded = binaryType.getFileName();
    byte b[] = wdContext.currentContextElement().getUpload();
    File filename =new File("
    <Server name>
    <folde name>
    " + fileuploaded);
    try {
    FileOutputStream out = new FileOutputStream(filename);
    out.write(b);
    out.close();
    } catch (FileNotFoundException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    /**Readind from the server**/
    int iRows = 0;
    try {     Workbook wb = null;
         Sheet sheet = null;
         wb = Workbook.getWorkbook(filename);
         sheet = wb.getSheet(0);
         int iColumns = sheet.getColumns();
          iRows = sheet.getRows();
         int i = 0;
        //get Cell contents by (COLUMN, ROW);
        for (int r = 0; r < iRows; r++) {
       for (int c = 0; c < iColumns; c++) {
         Cell cell = sheet.getCell(c, r);
         characterarray<i> = cell.getContents();
    //wdComponentAPI.getMessageManager().reportSuccess("Row"r characterarray<i>);
    i++;
    wb.close();
    Declare Globally
    //@@begin others
    String fileuploaded;
    IWDModifiableBinaryType binaryType;
    String characterarray[] = new String[1000];
    //@@end
    Also look at this blog too  /people/perumal.kanthan/blog/2005/03/21/reading-excel-data-from-java-using-hssf-api
    Thanks and Regards,
    Arun

  • Create xml file and write data in to it:

    Hi All,
    I have a small requirement here.....
    I have a java program which reads a xml file.
    Now i have stored the contents of that file in to a java object.
    I want a sample code now which would take theabove mentioned java object as an input ,create a xml file and write these entries in to the file.
    Can anyone help me in this?
    Your help would be appreciated.
    Thanks in advance.
    vrkr

    Hmmm. There is nothing special about an XML file to any other file. The data is simply formatted in a certain way. So to write an XML file, it is no different to writing any other form of file in Java (assuming you know the structure of the xml format to write - which you should)
    If you don't know how to write files using Java I would suggest using the Java Tutorial found on java.sun.com and do some reading up about I/O since this is fairly fundamental.
    http://java.sun.com/docs/books/tutorial/
    http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • Want to open an Excel file and load it into Oracle - Oracle COM Automation

    I'm doing some test and I got the following errors in the dbms output:
    Creating Excel application...
    COM-0004: The registered CLSID for the ProgID is invalid.
    Invoking Workbooks...
    COM-0004: The registered CLSID for the ProgID is invalid.
    Invoking Add to WorkBooks...
    COM-0002: Invalid Token or no interface for token
    I tried to register the orawpcom10.dll on the server but I could not.
    I changed the orawpcom10.dll file for a newer one, but I got the same error.
    I tried to google the error messages, but I did not find any solution.
    Could you give me any idea?
    Thanks again,
    Javier
    Edited by: 882807 on 01-sep-2011 6:01

    Sorry, I was a little bit busy at work. You can see my answers below:
    1. Post your database version from v$version.
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>2. The path where orawpcomxx.dll stored (preferably with dir command from command prompt).
    C:\oracle\product\10.2.0\db_1\BIN>dir orawpco*.dll
    El volumen de la unidad C no tiene etiqueta.
    El número de serie del volumen es: E0C2-001B
    Directorio de C:\oracle\product\10.2.0\db_1\BIN
    22/06/2010  17:40            81.920 orawpcom10.dll
                   1 archivos         81.920 bytes
                   0 dirs  31.090.524.160 bytes libres
    C:\oracle\product\10.2.0\db_1\BIN>3. Definition (CREATE statement) of UTILS_LIB
    create library utils_lib as 'C:\oracle\product\10.2.0\db_1\BIN\orawpcom10.dll';4. Relevant portion of TNSNAMES.ora and LISTNER.ora.
    TNSNAMES.ORA
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )LISTENER.ORA
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vsdwh1.AD.SMS.CARM.ES)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
    ...5. Status (valid/invalid) of ORDExcelSB from all/dba/user_objects.
    SQL> select object_name,object_type,status from all_objects where object_name =
    'ORDEXCELSB';
    OBJECT_NAME                    OBJECT_TYPE         STATUS
    ORDEXCELSB                     PACKAGE             VALID
    ORDEXCELSB                     PACKAGE BODY        VALID
    SQL>6. How you are calling and the actual error (copy paste from SQL prompt).
    SQL> SET SERVEROUT ON
    SQL> DECLARE
      2  v_Name          varchar2(90);
      3  v_SlNo          varchar2(100);
      4  v_Job           varchar2(200);
      5  v_Dept          varchar2(100);
      6  v_recon_remark  varchar2(50);
      7  v_sal_amt_usd   number;
      8  v_Bonus_amt_usd number;
      9  result INTEGER;
    10
    11  i        binary_integer;
    12  filename varchar2(255);
    13  BEGIN
    14
    15  filename := 'C:\Example.xls';
    16
    17  result := ORDExcelSB.CreateExcelApplication('');
    18  result := ORDExcelSB.OpenExcelFile(filename, 'Sheet1');
    19
    20  /* Excluding the header row and reading the first 5 row */
    21  FOR n in 2 .. 5 LOOP
    22
    23  v_Name          := ORDExcelSB.GetDataStr('A' || n);
    24  v_SlNo          := ORDExcelSB.GetDataReal('B' || n);
    25  v_Job           := ORDExcelSB.GetDataStr('C' || n);
    26  v_Dept          := ORDExcelSB.GetDataStr('D' || n);
    27  v_sal_amt_usd   := ORDExcelSB.GetDataNum('E' || n);
    28  v_Bonus_amt_usd := ORDExcelSB.GetDataNum('F' || n);
    29
    30  dbms_output.put_line(v_Name || '  ' || v_SlNo || '  ' || v_Job || '  ' ||
    31  v_Dept || '  ' || v_sal_amt_usd || '  ' ||
    32  v_Bonus_amt_usd);
    33
    34  END LOOP;
    35
    36  result := ORDExcelSB.ExitExcel();
    37  EXCEPTION
    38  WHEN OTHERS THEN
    39  result := ORDExcelSB.ExitExcel();
    40  RAISE;
    41  END;
    42  /
    Creating Excel application...
    COM-0004: The registered CLSID for the ProgID is invalid.
    Invoking Workbooks...
    COM-0004: The registered CLSID for the ProgID is invalid.
    Opening Excel file C:\Example.xls ...
    COM-0002: Invalid Token or no interface for token
    Opening WorkBook
    COM-0002: Invalid Token or no interface for token
    Invoking WorkSheets..
    COM-0002: Invalid Token or no interface for token
    Invoking WorkSheet
    COM-0002: Invalid Token or no interface for token
    Opened
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    0      0  0
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    0      0  0
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    0      0  0
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    0      0  0
    Closing workbook and quitting...
    Closing workbook...
    COM-0002: Invalid Token or no interface for token
    Closing workbooks...
    COM-0002: Invalid Token or no interface for token
    COM-0002: Invalid Token or no interface for token
    PL/SQL procedure successfully completed.
    SQL>Thanks again for your interest.
    Javier

  • Read Excel file and insert it into a table

    Hi All
    i'm developing a web app using jdeveloper 11.1.1.3
    I want to upload an excel file to a table, is there way in the frame work to do this easily
    Tx

    convert the excel fil to a .csv file and expose the csv file as a datacontrol and then use it in the table
    http://technology.amis.nl/blog/2306/uploading-csv-files-into-dynamic-adf-faces-tables-programmtically-creating-columns

  • How to read a CSV file and Insert data into an Oracle Table

    Hi All,
    I have a Clob file as a in parameter in my PROC. . File is comma separated.need procedure that would parse this CLOB variable and populate in oracle table .
    Please let me some suggestions on this.
    Thanks,
    Chandra R

    jeneesh wrote:
    And, please don't "hijack" 5 year old thread..Better start a new one..I've just split it off to a thread of it's own. ;)
    @OP,
    I have a Clob file as a in parameter in my PROC. . File is comma separated.need procedure that would parse this CLOB variable and populate in oracle table .You don't have a "clob file" as there's no such thing. CLOB is a datatype for storing large character based objects. A file is something on the operating system's filesystem.
    So, why have you stored comma seperated data in a CLOB?
    Where did this data come from? If it came from a file, why didn't you use SQL*Loader or, even better, External Tables to read and parse the data into structured format when populating the database with it?
    If you really do have to parse a CLOB of data to pull out the comma seperated values, then you're going to have to write something yourself to do that, reading "lines" by looking for the newline character(s), and then breaking up the "lines" into the component data by looking for commas within it, using normal string functions such as INSTR and SUBSTR or, if necessary, REGEXP_INSTR and REGEXP_SUBSTR. If you have string data that contains commas but uses double quotes around the string, then you'll also have the added complexity of ignoring commas within such string data.
    Like I say... it's much easier with SQL*Loader of External Tables as these are designed to parse such CSV type data.

  • Using .csv file and adding data into database

    hi,
    i'm working on a project which shows all the share prices on a webpage from the FTSE100..
    my problem is..i connect to yahoo.co.uk to get my share price information which is updated every 15mins..they return a .csv file to me...at the moment, i am just printing the information onto my website, but is there any way that i could store this information into a database if i needed the data to be used elsewhere...thanx for the help in advance

    below is my code which i used to get my info onto the web...i'd just like to know how i would use this to store the data into a database..
    import java.net.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class SharePrice
         private String line;
         private int maxShares = 101;//maximun shares a user can have
         private int details = 5;//five details, name,date,time,price,change.
         public String [][] shareData = new String[maxShares][details];
    public SharePrice(String [] shares) throws Exception
              getShare(shares);
         //returns a double array containing share data of each share as a seperate row in the array
    public String [][] getShare(String [] sh) throws Exception
                   for(int i=0; i<sh.length; i++)
                        //if the entry is null we have reached the end of the array
                        if(sh!=null)
                             String share = sh[i];
                             //part of url of the resource
                             String address ="http://uk.finance.yahoo.com/d/quotes.csv?s=";
                             //adds the share tothe url so that particular shares data is retieved
                             address = address+share;
                             System.out.println(address);
                             try
                                  //connection is created to the resource and input stream opened to read data
                                  URL url = new URL(address);
                                  BufferedReader in = new BufferedReader(
                                            new InputStreamReader(
                                            url.openStream()));
                                  line = in.readLine();
                                  in.close();
                             }catch(Exception e){System.err.println("Exception: " + e.getMessage());
                                  e.printStackTrace();}
                             //the line of data retrieved is spli and placed in a single row of the array
                             //beause the each piece of data is seperated by commas it is easily seperated.
                             StringTokenizer t = new StringTokenizer(line, ",");
                             int count = t.countTokens();
                             System.out.println(" count= "+count);
                             while(t.hasMoreTokens())
                                  for(int j=0; j<count; j++)
                                       String s = t.nextToken();
                                       shareData[i][j] = s;
              return shareData;

  • Read multiple files and write data on a single  file in java

    Hello,
    I am facing difficulty that I want to read multiple files in java and write their data to a single file. Means Write data in one file from multiple files in java
    Please help me out.
    Naveed.

    algorithm should be something like:
    File uniqueFile = new File();
    for (File f : manyFilesToRead)
       while (readingF)
           write(dataFromF, intoUniqueFile);

  • How can we read and write data into plist using javascript in a html5 widget to be implemented into iBooks?

    I had been trying to read from a plist to get file names of data files and it works fine when i run it in safari but after making its widget and putting it into iBooks it doesnot works. Please tell me any new method to read p list or correct my function if there is any correction. my function is following.
    function plistread(n)
              if (window.XMLHttpRequest)
                   xhttp = new XMLHttpRequest();
               else
            xhttp = new ActiveXObject("Microsoft.XMLHTTP");
                   xhttp.open("GET", "Spell_Check_3.plist", false);
        xhttp.send();
        xmlDoc = xhttp.responseXML;
        var x = xmlDoc.getElementsByTagName("dict");
        var imgnamex = x[n].getElementsByTagName("string")[0].childNodes[0].nodeValue;
        xlength=x.length;
              return imgnamex;

    See i need to access a plist file in my html5 widget, i implemented it in java script but it's not working so is there any other way to take out values from a plist file.

Maybe you are looking for

  • How do you change the email destination when you forgot your security question?

    Hey! First of all, Thank you for noticing my post! Haha Alright.. Soo.. This Apple ID was made a long time ago since my iPhone 5 was bought. I was planning to buy an ingame item but Vertification was needed so I was like yeah ok sure. XD Then it star

  • Premiere Elements 9 running extremely slow on Core i7 Win7 Quadro system

    Hello, We've had a single installation of Premiere Elements 9 for some time now and for love nor money we've been unable to get it working properly, i've tried all manner of driver combinations for graphics and motherboard and the problems persist. B

  • Applescript and iBooks Author?

    Hi, Is anyone using Applescript to automate iBooks Author (IBA)? Since IBA doesn't have the same "track changes" convenience as Microsoft Word, we're seriously looking at automating the conversion from Word to IBA documents. I opened IBA's Scripting

  • Why won't my MP Navigator Open?

    Hi ( Pahu are you there?), I recently added more memory to my MacBook Pro.  When I next went to scan some docs using the MP Navigator, I got the message the drivers are not installed.  I have reinstalled the the Canon Pixma MP640 CD Rom, and the driv

  • BTF: No Controller Transaction & Share data controls

    Hi all, I have BTF with two options, like in the Subject of this thread. In that task flow, user create and edit records from separate ApplicationModule with regard to calling task flow. And all without commiting these changes to the database. Now wo