shell32-listview

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Syd

    shell32-listview

    Hi,
    I want to learn to open a file with double clicking to selected item,which
    is the name of file name,in a listview.I know it is done with dll shell 32
    but how???
    Thanks...
  • Fabio Cannizzo

    #2
    Re: shell32-listview

    Use the API ShellExecuteEx, or use the C# method Process.Start

    "Syd" <Syd@discussion s.microsoft.com > wrote in message
    news:59FCF2A2-BFEC-4530-9FE1-D11ADB23719D@mi crosoft.com...[color=blue]
    > Hi,
    > I want to learn to open a file with double clicking to selected item,which
    > is the name of file name,in a listview.I know it is done with dll shell 32
    > but how???
    > Thanks...[/color]


    Comment

    • Fatima

      #3
      Re: shell32-listview

      you can do that by
      System.Diagnost ics.Process.Sta rt(FileName);



      "Syd" <Syd@discussion s.microsoft.com > wrote in message
      news:59FCF2A2-BFEC-4530-9FE1-D11ADB23719D@mi crosoft.com...[color=blue]
      > Hi,
      > I want to learn to open a file with double clicking to selected item,which
      > is the name of file name,in a listview.I know it is done with dll shell 32
      > but how???
      > Thanks...[/color]


      Comment

      Working...