What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Check whether file exists

Check whether file exists
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Check whether file exists
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.
[Image: 1-0.png]
             
04-04-2007 10:22 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Check whether file exists - by ryxdp on 04-04-2007 at 07:13 AM
RE: Check whether file exists - by vikke on 04-04-2007 at 07:26 AM
RE: RE: Check whether file exists - by TheSteve on 04-04-2007 at 08:57 AM
RE: Check whether file exists - by vikke on 04-04-2007 at 09:00 AM
RE: Check whether file exists - by TheSteve on 04-04-2007 at 09:04 AM
RE: Check whether file exists - by Ezra on 04-04-2007 at 09:28 AM
RE: Check whether file exists - by vikke on 04-04-2007 at 09:39 AM
RE: Check whether file exists - by ryxdp on 04-04-2007 at 10:14 AM
RE: RE: Check whether file exists - by vikke on 04-04-2007 at 11:39 AM
RE: Check whether file exists - by Ezra on 04-04-2007 at 10:22 AM
RE: Check whether file exists - by John Anderton on 04-04-2007 at 10:39 AM
RE: Check whether file exists - by ryxdp on 04-04-2007 at 10:40 AM
RE: Check whether file exists - by Ezra on 04-04-2007 at 11:32 AM
RE: Check whether file exists - by ryxdp on 04-05-2007 at 05:40 AM
RE: Check whether file exists - by roflmao456 on 04-06-2007 at 05:34 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On