read file

  1. P

    Question Read and delete contents from a text file

    In my application there is a requirement that the program should read the contents of a log file after every 24 hours and flush the file contents so that new logs can be added to it then. I can easily add the timer to do this on regular time intervals but facing problems in getting the...
  2. V

    various question starting with Windows services

    Hello All, I'm in need to create a windows service that accesses an URL at given intervals, while easy to do as a desktop application, I'm struggling to turn it into a windows service. I've removed all user interaction, and need to load an XML file onStart() of the windows service and when the...