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,545 of 10,840   
   Raymond H. to All   
   Re: How to grayed 'Read only' in propert   
   06 Jun 05 13:12:10   
   
   From: divers_rh@hotmail.com   
      
   Hello,   
        Thankyou for your help.  But I know how to set attrib in vb.  I only   
   would like to know how to gray the box 'Read only' than we can seen via   
   Windows Explorer.   
   Have a good day.   
   Raymond H.   
      
   "B"  a écrit dans le message de news:   
   iuVke.100525$0v1.30979@amsnews02.chello.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