Kashif Ashfaq

What is the best method to get and set the attributes of any file(.exe, .txt, .mdb and etc




Re: Visual Basic Express Edition Attributes of Any file

Tall Dude

Private Sub Button1_Click(ByVal sender As System.Object, _

ByVal e As System.EventArgs) Handles Button1.Click

SetAttr("c:\test.fil", FileAttribute.Hidden Or FileAttribute.System)

MsgBox(GetAttr("c:\test.fil").ToString)

End Sub