Brilliant Deductions (bardiclug) wrote,
Brilliant Deductions
bardiclug

  • Mood:
  • Music:

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. :)
Subscribe

  • More DucKon stuff

    I'm not so good at the con report stuff, but I do have some specific memories I want to share, so I hope you'll bear with me as I ramble of lists of…

  • Post con, return to LiveJournal

    I've been meaning to get back into the LJ habit. So post-Duckon posts and rambling is as good enough reason as any. Post-con blues hitting hard…

  • Live and In Concert - Duckon 2010

    I don't know what they were thinking, but the kind folks at Duckon ( especially Jan DiMasi) have asked me to be the Filk Fund guest at Duckon in June…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment