CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2003
    Location
    Vietnam
    Posts
    13

    Question Scan for a new file in a directory

    Hi everybody!
    I am trying to scan for a new file in a directory by using a WIN32_FIND_DATA object. This file is refreshed periodically. Please tell me more detail about the way to scan this new file .
    Thanks

  2. #2
    Join Date
    Nov 2003
    Location
    malaysia
    Posts
    30
    Hi,

    You can check the date has modified of the files.

  3. #3
    Join Date
    Dec 2003
    Location
    Vietnam
    Posts
    13

    Scan a new file

    I want to build a biilling application. This application can scan a new binary file refreshed once per 5 minutes then convert this file to a text file and finally insert into a database. I feel difficult to scan file. Please help me.

  4. #4
    Join Date
    Jul 2003
    Location
    Korea
    Posts
    60
    Hi hungtx ,

    Let use FindFirstChangeNotification(...). This API can be used to monitor Changes in a directory or directory tree.
    Quang

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured