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 9,526 of 10,840   
   B to Raymond H.   
   Re: How to grayed 'Read only' in propert   
   25 May 05 07:06:54   
   
   From: nospam@nospam.com   
      
   Hi,   
      
   Use: SetAttr "c:\myfile.txt", vbReadOnly to change the properties of the   
   file to read only mode. Remember it still can be deleted in expolorer,   
   it only avoids the file from being edit.   
      
   B.   
      
   Raymond H. schreef:   
   > Hello,   
   >      I'd like to be able to desabled the 'Read only' (and grayed this case)   
   > with vb codes.   How to do this to protect a file againts deleting?   
   > r.h.   
   >   
   >   
      
   --- 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