Click here to Skip to main content
11,496,146 members (351 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
See more: VB6

How to create a watch folder which is in server path. if any files are created in that path. then i need to process with the file in VB6 Application.


Sivasankaran G
Posted 16-Apr-13 5:13am
Edited 16-Apr-13 5:14am

1 solution

Sivaguru88 at 16-Apr-13 10:51am
Hi mike meinz,
Thanks for your responce.
FileMonitor[^] this file showing error in referance "Dim WithEvents oFileMonitor As FILEMONITOR.Watch"
Mike Meinz at 16-Apr-13 11:10am
Sorry ,but I do not have VB6 anymore so that I could try it myself. You'll either have to debug yourself or contact the author of the FileMonitor article.
Sivaguru88 at 16-Apr-13 11:11am
Thanks again mike. i will check
Mike Meinz at 16-Apr-13 11:12am
I added "Spy on a Folder to Detect When it Change" to the solution. This is another VB6 article on monitoring folders. There is a link to download source code in the article.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 10,401
1 OriginalGriff 8,910
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600

Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 16 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100