It is currently Tue Oct 20, 2026 7:19 am


vb code help monitoring

Support for any program including installing and running

Moderator: liljim

vb code help monitoring

Postby o0obrian0o0 » Wed Jul 13, 2005 7:56 pm

User avatar
o0obrian0o0
Senior Geek
Senior Geek
 
Posts: 247
Joined: Mon Sep 13, 2004 1:00 am

Thanks given:0
Thanks received:0
Top

Postby Gecko » Wed Jul 13, 2005 10:00 pm

Hi o0obrian0o0,

First of all let me say I’m glad to see you advancing in VB :)

Although your concept idea of monitoring all directories and subdirectories is great,
there are inherent problems involved here, Windows uses temp files for all kinds of things.
Have you ever noticed that when you have a Word .doc open you will have a hidden temp file in the same directory?
These temp files go by different file types, so the problem is trying to eliminate certain file types.
That’s just for windows and word not to mention any other programs that use temp files.
Monitoring all the directories and subdirectories will use quite a bit of ram too.
Remember there are thousands of directories and subdirectories on the average system.

As for being able to halt the action of adding or deleting of a file it’s going to be tough.
Basically you would have to pause the application that is trying to add a file and
then be able to resume and/or alter that application based on the user’s response of yes or no.

I don’t want to come off like I’m raining on your parade, I feel quite the opposite.
I want to encourage you to advance your VB skills, it’s a great language to learn, you can do some amazing things with it.
Just realize that there are limitations and many other things to think of when designing a program.
I recommend that you check out for a good place to pick up some good source code for free.

Gecko
User avatar
Gecko
Super Moderator
Super Moderator
 
Posts: 5209
Joined: Thu Oct 25, 2001 1:00 am
Location: Florida, USA

Thanks given:1
Thanks received:23
Top


Return to Misc. Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron