Edited by xawier, 28 December 2011 - 06:55 AM.
5 replies to this topic
#1
Posted 28 December 2011 - 05:29 AM
Hello, ;). Is it possible to VB monitor a file (for ex. testfile.txt) ? I wanna to write a code who monitor the testfile.txt and show me how it's change.
|
|
|
#2
Posted 25 January 2012 - 02:29 AM
We need a bit more help with what you want to monitor. Give us an idea...
#3
Posted 29 January 2012 - 10:46 AM
You could set up a scheduled task, write your code to keep track of the file, set up your scheduled task to run your executable every so often and monitor, notify as needed.
#4
Posted 13 February 2012 - 02:43 AM
xawier said:
Hello, ;). Is it possible to VB monitor a file (for ex. testfile.txt) ? I wanna to write a code who monitor the testfile.txt and show me how it's change.
Yes it is possible.
FileSystemWatcher Class (System.IO)
Edited by logicPwn, 13 February 2012 - 03:57 PM.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding
- Martin Golding
#5
Posted 19 February 2012 - 01:40 AM
logicPwn said:
Would be helpful if he asked what he wanted to monitor though! What if he wanted to monitor if the file was open, and how much memory the process was using?
#6
Posted 19 February 2012 - 09:56 AM
Blimp said:
Would be helpful if he asked what he wanted to monitor though! What if he wanted to monitor if the file was open, and how much memory the process was using?
Learn to read? He asked to hook into events on when it changed so he could display difference.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding
- Martin Golding
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top










