|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Newbie: Find if a file existsHi,
the solutions on the net are not very satisfactory after my search. Maybe i missed something. Is there a surefire way to determine wether a file exists or not ? Any links would be appreciated! (actually what would be really nice would be to "remember" the name AND size of the file in order to determine if the user opens the same file, even if the file's path has changed. But thats a bit too much) TIA -steve smith wrote:
> What's not satisfactory w/ what methods that you have used?> Hi, > > the solutions on the net are not very satisfactory after my search. Maybe i > missed something. Try typing the following into google.com...
FileExists site:vbnet.mvps.org 1) It shows a great site to search for things (ie, vbnet.mvps.org). 2) It shows how to search a specific site using google.com. 3) The first link google displays, answers your question, I hope. 4) The same method could be used to find a FolderExists also. Hope this helps. -- Jim Carlock Post replies to the newsgroup, thanks. "smith" <jsm***@yahoo.ca> wrote: the solutions on the net are not very satisfactory after my search. Maybe iHi, missed something. Is there a surefire way to determine wether a file exists or not ? Any links would be appreciated! (actually what would be really nice would be to "remember" the name AND size of the file in order to determine if the user opens the same file, even if the file's path has changed. But thats a bit too much) TIA -steve Excellent site !!!
Thank u so much! -steve Show quoteHide quote "Jim Carlock" <anonymous@localhost> wrote in message news:O5e6Fon0FHA.1564@tk2msftngp13.phx.gbl... > Try typing the following into google.com... > > FileExists site:vbnet.mvps.org > > 1) It shows a great site to search for things (ie, vbnet.mvps.org). > 2) It shows how to search a specific site using google.com. > 3) The first link google displays, answers your question, I hope. > 4) The same method could be used to find a FolderExists also. > > Hope this helps. > > -- > Jim Carlock > Post replies to the newsgroup, thanks. > > "smith" <jsm***@yahoo.ca> wrote: > Hi, > > the solutions on the net are not very satisfactory after my search. Maybe > i > missed something. > > Is there a surefire way to determine wether a file exists or not ? > Any links would be appreciated! > > (actually what would be really nice would be to "remember" the name AND > size > of the file in order to determine if the user opens the same file, even if > the file's path has changed. But thats a bit too much) > > TIA > -steve > > > > the solutions on the net are not very satisfactory after my search. Maybe i missed something. Here's the method I use:> > Is there a surefire way to determine wether a file exists or not ? > Any links would be appreciated! > > (actually what would be really nice would be to "remember" the name AND size of the file in order to determine if the user opens > the same file, even if the file's path has changed. But thats a bit too much) http://groups.google.co.uk/group/microsoft.public.vb.general.discussion/msg/6f64da5e5e517b42 Hope this helps, Mike - Microsoft Visual Basic MVP - E-Mail: ED***@mvps.org WWW: Http://EDais.mvps.org/ |
|||||||||||||||||||||||