Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor kuddy_abc's Avatar
    Join Date
    Feb 2009
    Posts
    188
    hi..

    i want to read/write text file(c:\\data\\text.txt) in WRT widget.

    how can i do this?

    please help me..

  2. #2
    Regular Contributor kuddy_abc's Avatar
    Join Date
    Feb 2009
    Posts
    188
    hi..

    please anybody help me..

  3. #3
    Regular Contributor kuddy_abc's Avatar
    Join Date
    Feb 2009
    Posts
    188
    pease anybody tell me whether it is possible or not?

    following code is not woeking. what is wrong? can i use ActiveXObject in WRT widget?

    function WriteToFile(name,password)
    {
    var filename = "c:\\data.txt";
    var fso = new ActiveXObject("Scripting.FileSystemObject");

    file = fso.OpenTextFile(filename, true);
    file.WriteLine(name);
    file.WriteLine(password);
    file.Close();
    }

  4. #4
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi kuddy_abc,

    you can read local files by using API Bridge, or you could also try by using local Ajax calls.

    http://wiki.forum.nokia.com/index.ph...I#File_Reading

    About writing, there's no current API that provides this kind of funtionality, but you can implement and add it by yourself by using API Bridge itself.

    Pit

Similar Threads

  1. read and write file via widget
    By juming1983 in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2010-08-04, 13:05
  2. How to Read / Write From/To TEXT file?
    By gb0071 in forum Symbian C++
    Replies: 6
    Last Post: 2009-03-04, 17:39
  3. Replies: 2
    Last Post: 2007-12-13, 12:19
  4. read text file
    By ivan6502 in forum Mobile Java General
    Replies: 1
    Last Post: 2005-01-17, 21:10
  5. write and read a TInt data from the file
    By billqu in forum Symbian C++
    Replies: 2
    Last Post: 2004-12-27, 15:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved