Click here to Skip to main content
11,798,546 members (73,405 online)
Rate this: bad
Please Sign up or sign in to vote.
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 4:13am
Edited 16-Apr-13 4:14am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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 CPallini 585
1 Maciej Los 395
2 OriginalGriff 348
3 Abhinav S 257
4 phil.o 254
0 OriginalGriff 2,150
1 Maciej Los 1,790
2 KrunalRohit 1,456
3 CPallini 1,415
4 Richard MacCutchan 1,016

Advertise | Privacy | Mobile
Web01 | 2.8.151002.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