quote:
Originally posted by Ryxpia
The program it needs to be in opens and sends a file, to be exact "PP5022.mi4" to a dynamic drive label, and all the while there is a Label that will either say "Theme not loaded. Please load theme." or "Theme loaded". Is there something you can put in Form1.Load that will just keep on checking?
If you don't get me, here's the diagram as I see it:
Private Sub Form1.Load [all the rest of that args stuff]
If Form1.Active Then
Keep.On.Checking.If.File.Exists(tillKill)
Using My.Computer.FileSystem.FileExists("E:\PP5022.mi4")
Like I said, first do a check to see if the file exists the normal way,
If it exists then register a filesystemwatcher event
'to see file changes in the folder where that file is placed
'now everytime a file gets deleted the function you registered will fire, in this function just
check if the deleted file is that file.