Click here to Skip to main content
15,913,584 members
Home / Discussions / C#
   

C#

 
GeneralRe: Shell Programming - Loading a file selected on list view component Pin
Dave Kreskowiak10-Oct-08 5:22
mveDave Kreskowiak10-Oct-08 5:22 
AnswerRe: Shell Programming - MY CODE! Pin
Gianpaolo Barci10-Oct-08 6:12
Gianpaolo Barci10-Oct-08 6:12 
GeneralRe: Shell Programming - MY CODE! Pin
Dave Kreskowiak10-Oct-08 6:49
mveDave Kreskowiak10-Oct-08 6:49 
GeneralRe: Shell Programming - MY CODE! Pin
Gianpaolo Barci10-Oct-08 7:00
Gianpaolo Barci10-Oct-08 7:00 
GeneralRe: Shell Programming - MY CODE! Pin
DaveyM6910-Oct-08 7:45
professionalDaveyM6910-Oct-08 7:45 
GeneralRe: Shell Programming - MY CODE! Pin
Gianpaolo Barci10-Oct-08 7:56
Gianpaolo Barci10-Oct-08 7:56 
GeneralRe: Shell Programming - MY CODE! Pin
DaveyM6910-Oct-08 8:25
professionalDaveyM6910-Oct-08 8:25 
GeneralRe: Shell Programming - MY CODE! Pin
Dave Kreskowiak10-Oct-08 8:27
mveDave Kreskowiak10-Oct-08 8:27 
Then you just use Process, not System.Diagnostics.Process.
The using statement at the top frees you from haing to type the entire qualifier.

As for where you call the execute statement, that's up to your design! Though, having looked at the entire code you posted, you don't have any code doing anything with the files in the listview after the listview is populated. So, I have no idea what you expect the user to do to launch a file. What happens there is totally up to you.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Shell Programming - MY CODE! Pin
Gianpaolo Barci10-Oct-08 9:34
Gianpaolo Barci10-Oct-08 9:34 
GeneralRe: Shell Programming - MY CODE! Pin
DaveyM6910-Oct-08 11:27
professionalDaveyM6910-Oct-08 11:27 
Questionmoving 2.0 to 3.0 and up Pin
netJP12L10-Oct-08 4:28
netJP12L10-Oct-08 4:28 
AnswerRe: moving 2.0 to 3.0 and up Pin
DaveyM6910-Oct-08 4:34
professionalDaveyM6910-Oct-08 4:34 
GeneralRe: moving 2.0 to 3.0 and up Pin
netJP12L10-Oct-08 4:40
netJP12L10-Oct-08 4:40 
GeneralRe: moving 2.0 to 3.0 and up Pin
DaveyM6910-Oct-08 4:52
professionalDaveyM6910-Oct-08 4:52 
GeneralRe: moving 2.0 to 3.0 and up Pin
Colin Angus Mackay10-Oct-08 12:51
Colin Angus Mackay10-Oct-08 12:51 
AnswerRe: moving 2.0 to 3.0 and up Pin
Pedram Behroozi10-Oct-08 4:41
Pedram Behroozi10-Oct-08 4:41 
QuestionHDD Serial Number Pin
sasan5610-Oct-08 3:59
sasan5610-Oct-08 3:59 
AnswerRe: HDD Serial Number Pin
Baconbutty10-Oct-08 4:20
Baconbutty10-Oct-08 4:20 
JokeRe: HDD Serial Number Pin
Thomas Stockwell10-Oct-08 4:26
professionalThomas Stockwell10-Oct-08 4:26 
JokeRe: HDD Serial Number Pin
Vasudevan Deepak Kumar10-Oct-08 10:57
Vasudevan Deepak Kumar10-Oct-08 10:57 
GeneralRe: HDD Serial Number Pin
Pedram Behroozi10-Oct-08 4:56
Pedram Behroozi10-Oct-08 4:56 
GeneralRe: HDD Serial Number Pin
Mark Salsbery10-Oct-08 6:03
Mark Salsbery10-Oct-08 6:03 
AnswerRe: HDD Serial Number Pin
Pedram Behroozi10-Oct-08 4:57
Pedram Behroozi10-Oct-08 4:57 
AnswerRe: HDD Serial Number Pin
J4amieC10-Oct-08 5:00
J4amieC10-Oct-08 5:00 
GeneralRe: HDD Serial Number Pin
Ashfield10-Oct-08 5:03
Ashfield10-Oct-08 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.