Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #2272 > unrolled thread
| Started by | RalphCramden <kwbnaples@aim.com> |
|---|---|
| First post | 2015-09-13 17:45 +0000 |
| Last post | 2015-09-14 14:29 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.basic.visual.misc
FileSystemWatcher in VisualStudio 12 or VS Express 13 - can you please help? RalphCramden <kwbnaples@aim.com> - 2015-09-13 17:45 +0000
Re: FileSystemWatcher in VisualStudio 12 or VS Express 13 - can you please help? GS <gs@v.invalid> - 2015-09-14 14:29 -0400
| From | RalphCramden <kwbnaples@aim.com> |
|---|---|
| Date | 2015-09-13 17:45 +0000 |
| Subject | FileSystemWatcher in VisualStudio 12 or VS Express 13 - can you please help? |
| Message-ID | <ACiJx.4436$pu3.2600@fx23.iad> |
The documentation states that I can use a FileSystemWatcher to monitor for changes in a network drive. My code sets the .Path property, then sets .EnableRaisingEvents = True and .IncludeSubdirectories = True. I have tried a .Path syntax of \\<server>\<folder>, and the FileSystemWatcher will not raise events. If I map \\<server> to a local drive letter and use <drive_letter>: \<folder>, the FileSystemWatcher still does not raise events. I have no problems at all watching a truly-local path such as CL\Windows. Any suggestions would be most welcomed! Thanks for caring... -- --------------------------------- --- -- - Posted with NewsLeecher v7.0 Beta 7 Web @ http://www.newsleecher.com/?usenet ------------------- ----- ---- -- -
[toc] | [next] | [standalone]
| From | GS <gs@v.invalid> |
|---|---|
| Date | 2015-09-14 14:29 -0400 |
| Message-ID | <mt73hv$dg4$1@dont-email.me> |
| In reply to | #2272 |
> The documentation states that I can use a FileSystemWatcher to > monitor for changes in a network drive. My code sets the .Path > property, then sets .EnableRaisingEvents = True and > .IncludeSubdirectories = True. I have tried a .Path syntax of > \\<server>\<folder>, and the FileSystemWatcher will not raise > events. If I map \\<server> to a local drive letter and use > <drive_letter>: \<folder>, the FileSystemWatcher still does not raise > events. I have no problems at all watching a truly-local path such > as CL\Windows. Any suggestions would be most welcomed! Thanks for > caring... Hi Ralph, You've posted to a classic VB group (VB6 and earlier)! -- Garry Free usenet access at http://www.eternal-september.org Classic VB Users Regroup! comp.lang.basic.visual.misc microsoft.public.vb.general.discussion
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.basic.visual.misc
csiph-web