File Information

Feb 25 2009 8:45 PM

hi

                 private void listView1_MouseDown(object sender, MouseEventArgs e)
                   {
                     i need to pass fileInfo method to here. but i don't know how should be the argument

                     fileInfo( ARGUMENT?????)

                  }

             protected void fileInfo(string pathName)
              {
                    ClearAllFields();
                    FileInfo TheFile = new FileInfo(pathName);
                    FileAttributes attri = new FileAttributes(pathName);   
                    if (TheFile.Exists)
               {
                    DirectoryInfo Parent = TheFile.Directory;               
                    DisplayFileInfo(TheFile);
                    return;
               }
            }

as well i need to change file property summery.....i mean (title, Subject, Author, Catogeory, KeyWords & comments)

how can i read the summery and edit the summery...????


Answers (5)