Skip to content

Open Files

Maharaje

Asked Aug 27, 2009, 9:37 PM EDT3 answers
Share
LinkedInX
Hello every body
I have a system search in WindowsForm and the results are shown in a listview
I want when i clicked on the items on listview it open that Specefic file in its Drive(Root)
How i can do it?
Thank you

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Hi
    when i write this code for opening the specific file i have this Error:
    Code
     
    
     
    System.Diagnostics.Process.Start(listView1.SelectedItems.ToString());
     
    this is Error:
    The system cannot find the file specified

     
    what's the real solution for this?
    0
  • 0
    Hi Friend Kirtan
    You really don't know the answer? I need Help to solve it PLZ Help me i'm in hurry
    0
  • 1 short reply
    • 0
      nobody have no idea?
      0