home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,896 of 10,840   
   Steve Gerrard to J French   
   Re: Check Path   
   21 Oct 04 18:19:23   
   
   From: mynamehere@comcast.net   
      
   "J French"  wrote in message   
   news:417784c8.332704676@news.btclick.com...   
   |   
   | Do NOT use Dir() in FileExists and FolderExists   
   | - it will work ok here but one day will bite you   
   | - use GetAttr with Error Trapping   
   |   
      
   Why? What is the snag in Dir()? Unless you are talking about the   
   problematic use of Dir to enumerate files, using Dir("*.tmp") followed   
   by Dir() in a loop. I don't use Dir that way, and haven't had problems   
   with Dir for ordinary verification.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca