?

Log in

No account? Create an account

Previous Entry | Next Entry

Programmatically accomplished

We're in the middle of crunch. This means that if I need a tool or some special code thing, I'm pretty much on my own.

I'm okay with that usually, as I'm handy with batch files, and I know enough VB.NET to make what I need - usually file parsers or some such.

However this time, I needed a Folder monitor. Filewatcher is new to me, and was a step beyond my self-taught .NET expertise.

However, I needed it, so I crashed through MSDN and figured it out - then hit the Thread Safe error.

One of the reasons I use VB is that it simplifies all that memory stuff. Usually the tools and utilities I write are one off and fairly specific, so I don't need to worry about it. However, with thread safety now a feature of VB, I found I needed to start worrying at least a bit.

The MSDN and Online resources are confusing and often times contradictory - but with perseverence and some trial and error - I triumped over the Thread Safe issue.

I now have a cool little utlitly that watches my shared folder for activity and captures a log of what changes, additions, deletions or renames have happened.

It's not much more than a high school coding project, but I feel good that I figured it out anyway. :)

Comments

( 1 comment — Leave a comment )
it_aint_easy
Mar. 2nd, 2008 01:59 am (UTC)
Good for you. That's a significant project.
( 1 comment — Leave a comment )

Latest Month

June 2010
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
27282930   

Page Summary

Powered by LiveJournal.com
Designed by Tiffany Chow