XPost: comp.lang.basic.visual   
   From: WatsonR@IntelligenCIA.com   
      
   "Otie" wrote in message   
   news:SpmdnWAtw42VJ7HZnZ2dnUVZ_s2dnZ2d@adelphia.com...   
   ..   
   > >> If you want to detect delete and reinstall wouldn't   
   > checking the time and date be the easiest approach?   
   >   
   > It is not secure. Anyone can change the date and time back to whatever   
   > again.   
   >   
      
   Not true..Depends on the approach..   
      
   OK, assume you have two registry keys, "installed" and "last used"   
   "last used" is always written when the file is accessed.   
   If it is accessed for the first time, "installed' is written as well.   
      
   All you have to do is compare "last used" to "installed."   
   If less, someone copied the file to another PC.   
      
   > >> For the defrag, that gets tricky since you will need to get the file   
   > alocation table info.   
   >   
   > I think that's what I want. How do I access the FAT info? The system has   
   to   
   > do it in order to find files in the first place. I just don't know if VB   
   can   
   > do it.   
   >   
      
   You don't want to do this. FAT is not the only system of data recording and   
   defrag moves your files around (and so does a legitimate backup system)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|