File attribute.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • trialproduct2004@yahoo.com

    #1

    File attribute.

    hi all
    I am using fileattrbute class to get attributes of file.
    I want to remove hidden and readonly attribute of file.
    Can some one tell me how to remove these attribute.
    Please help me.

    Thanks in advance.

  • wg

    #2
    Re: File attribute.

    Use the setfileattribut e to normal.

    wg
    <trialproduct20 04@yahoo.com> wrote in message
    news:1120904030 .256077.306570@ g44g2000cwa.goo glegroups.com.. .[color=blue]
    > hi all
    > I am using fileattrbute class to get attributes of file.
    > I want to remove hidden and readonly attribute of file.
    > Can some one tell me how to remove these attribute.
    > Please help me.
    >
    > Thanks in advance.
    >[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: File attribute.

      <trialproduct20 04@yahoo.com> schrieb:[color=blue]
      > I am using fileattrbute class to get attributes of file.
      > I want to remove hidden and readonly attribute of file.
      > Can some one tell me how to remove these attribute.[/color]

      See:

      <URL:http://groups.google.d e/group/microsoft.publi c.dotnet.langua ges.vb/msg/d02d32b2bfdecce 3>

      You can combine two attributes using the 'Or' operator if you want to remove
      them once.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      Working...