Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

C# - list view control - double click

$
0
0

Hi All,

From what i read about the listview control, its like a container & we can populate it with an array of strings not necessarily a list of files.

after we have retrieved the list of files (docx, pdf, mp3, folder) & populated the ListView control, how can we open the file with its default program associated with it.

I have a Windows Form, with a ListView control embedded in it.

So, how can i achieve same result in the ListView control as if am using the in-built Windows Explorer (double click , right click , etc working)

E.g 

Folder - Open in Windows Explorer

PDF File - Open with my default program

Thanks to guide me.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>