Results 1 to 2 of 2

Thread: How to invoke a certain software file inside a directory each time a new file is crea

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    12

    How to invoke a certain software file inside a directory each time a new file is crea

    This is not a vb question.
    How to invoke a certain software file inside a directory each time a new file is createdin the same directory automatically.
    This is like a window event raised when a new file created in this directory that make other software file invoked.
    Is this like a service in window 2000? Can any one help or give a hint to where to find help on this.
    Can we do something like this without using visual basic or by setting some service inside setting or control panel?
    hajar

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    There is no built in software in Win2K that will do this.
    However writing such an application is pretty easy.
    If you use VB.Net you can use the FileSystemWatcher class.
    In VB6 you have to use the FindFirstChangeNotification and the FindNextChangeNotification API functions.

    For more information about the FileSystemWatcher class read my post in the .NET Tip Thread

    Best regards

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