hello guys,
we have a device, this device is creating a textfile log..
my problem is how to read a new line everytime the last line of the textlog changes..thanks in advance

read the file
save the last line
read it again at a certain interval
check if the last line has changed
if it has: save it again
repeat the previous 3 lines

or check the filedatetime at certain intervals
if it has changed, open the file and read the last line(s)
remember the filedatetime (created)

look for the filesystemobject for this
and for how to open textfiles

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.