> So... any software out there that will do this? If not, any pointers
> on how I might be able to write a utility using VB6 or VB.Net?
> practice
practical :-)
Noozer - 31 Oct 2007 07:06 GMT
>> practice
>
> practical :-)
Practice makes prefect!
>> So... any software out there that will do this? If not, any pointers
>> on how I might be able to write a utility using VB6 or VB.Net?
[quoted text clipped - 7 lines]
> goes to the Picture folder, Readme.txt is unknown but HelloWorld.txt goes
> to another folder? etc. etc.
Three ways so far... Filename matching (regex and Windows wildcards), file
extension and "File begins with 'xx xx xx xx xx' bytes. I'd also consider
more rules for processing ZIP files or directories dropped into a Smart
Folder, but haven't worked on the logic for them just yet.
Rules will be on a first match basis, or optionally, if the file matches
multiple rules it will create multiple copies (or only go to the first
matching rule and create shortcuts to any other matching rules). Rules might
even allow multiple destinations to allow for backup copies to be generated,
etc.
Each rule MUST have a destination location. Multiple rules can use the same
destination. A "Target not found! Create, Abort or Hold until target is
ready?" popup occurs if the target location is not available. The Smart
Folder would temporarily store the file(s) and watch for the destination
location to become available. Great for dragging stuff to, and then later
connecting a removable drive, or if you have network shares that aren't
always available.
The Smart Folder will also keep a log of just where it's put each file, so a
user can find a file if it doesn't end up where expected. Also keep track of
where the file came from, so a user can "restore" file(s) to their original
location later.
As far as the program itself... Windows will allow you to drag files and
drop them on an EXE for processing, providing a very simple trigger for the
program.
If the program is started without any command line parameters, it can assume
that the user simply chose to "open" the Smart Folder. This would show the
destination targets and allow access to settings, etc.
If the program is started WITH command line parameters, it can assume that
it is a list of files/folders/etc. that should be processed.
Yes, I've put a bit of thought into this... I just wish I knew enough VB,
C#, etc... to create the actual code. (What would be the best VS 2005
language to use for this, assume I was equally proficient in each?)
Thanks!
Spam Catcher - 31 Oct 2007 18:22 GMT
> Yes, I've put a bit of thought into this... I just wish I knew enough
> VB, C#, etc... to create the actual code. (What would be the best VS
> 2005 language to use for this, assume I was equally proficient in
> each?)
They're 99.9% identical because they use the same .NET framework. However,
C# does have 1 or 2 additional power features (pointers - not really used
unless you do a lot of native calls, and anonymous deletegates - VB.NET has
workarounds).
So the choice is upto you:-)