Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. File IO

File IO

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vikramlinux
    wrote on last edited by
    #1

    HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS

    A B D 3 Replies Last reply
    0
    • V vikramlinux

      HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS

      A Offline
      A Offline
      Antti Keskinen
      wrote on last edited by
      #2

      For an "easy" approach, try implementing a FileSystemWatcher object from the .Net Framework. This object has capabilities to watch for all events you specified. Without the .Net Framework, I remember that there was a discussion over this matter earlier on the forums. You could try searching. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

      1 Reply Last reply
      0
      • V vikramlinux

        HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS

        B Offline
        B Offline
        Brian D
        wrote on last edited by
        #3

        This should help you: http://www.codeproject.com/file/directorychangewatcher.asp[^] Regards BD


        "You know "that look" women get when they want sex? Me neither." --Steve Martin

        1 Reply Last reply
        0
        • V vikramlinux

          HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          In addition to Brian D's suggestion, also check out FindFirstChangeNotification().


          "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups