Click here to Skip to main content
15,909,897 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to run the dropped file ? Pin
Xmen Real 30-Jun-08 14:44
professional Xmen Real 30-Jun-08 14:44 
GeneralRe: how to run the dropped file ? Pin
Anthony Mushrow30-Jun-08 23:05
professionalAnthony Mushrow30-Jun-08 23:05 
GeneralRe: how to run the dropped file ? Pin
Xmen Real 30-Jun-08 23:22
professional Xmen Real 30-Jun-08 23:22 
GeneralRe: how to run the dropped file ? Pin
Anthony Mushrow1-Jul-08 1:07
professionalAnthony Mushrow1-Jul-08 1:07 
GeneralRe: how to run the dropped file ? Pin
Xmen Real 1-Jul-08 2:31
professional Xmen Real 1-Jul-08 2:31 
AnswerRe: how to run the dropped file ? Pin
Jimmanuel30-Jun-08 10:20
Jimmanuel30-Jun-08 10:20 
GeneralRe: how to run the dropped file ? Pin
Xmen Real 30-Jun-08 14:45
professional Xmen Real 30-Jun-08 14:45 
AnswerRe: how to run the dropped file ? Pin
DaveyM691-Jul-08 2:53
professionalDaveyM691-Jul-08 2:53 
When the file drag is completed - the foreground window is changed. You could use GetForegroundWindow from user32.dll to find which window is currently active at the end of the drag operation. I'm not sure how you'd get the path from it though. If the 'Display the full path in the title bar' option is enabled on the system, then you could use GetWindowText from user32.dll to get the path (if it's the desktop the text is 'Program Manager').

Once you get the path you can then use Process.Start

Dave

GeneralRe: how to run the dropped file ? Pin
Xmen Real 1-Jul-08 5:12
professional Xmen Real 1-Jul-08 5:12 
QuestionUnable to Connect to Visual Studios Local Host server Pin
kibromg30-Jun-08 5:14
kibromg30-Jun-08 5:14 
AnswerRe: Unable to Connect to Visual Studios Local Host server Pin
John_Adams30-Jun-08 8:44
John_Adams30-Jun-08 8:44 
Questionremoving row from dataTable / DataGridView Issue Pin
Harvey Saayman30-Jun-08 5:12
Harvey Saayman30-Jun-08 5:12 
AnswerRe: removing row from dataTable / DataGridView Issue Pin
Xmen Real 30-Jun-08 5:21
professional Xmen Real 30-Jun-08 5:21 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Harvey Saayman30-Jun-08 20:14
Harvey Saayman30-Jun-08 20:14 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Xmen Real 30-Jun-08 22:46
professional Xmen Real 30-Jun-08 22:46 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Harvey Saayman30-Jun-08 22:59
Harvey Saayman30-Jun-08 22:59 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Xmen Real 30-Jun-08 23:02
professional Xmen Real 30-Jun-08 23:02 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Harvey Saayman30-Jun-08 23:07
Harvey Saayman30-Jun-08 23:07 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Xmen Real 30-Jun-08 23:08
professional Xmen Real 30-Jun-08 23:08 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Harvey Saayman30-Jun-08 23:13
Harvey Saayman30-Jun-08 23:13 
AnswerRe: removing row from dataTable / DataGridView Issue Pin
Kjetil Svendsen30-Jun-08 22:28
Kjetil Svendsen30-Jun-08 22:28 
GeneralRe: removing row from dataTable / DataGridView Issue Pin
Harvey Saayman30-Jun-08 22:43
Harvey Saayman30-Jun-08 22:43 
QuestionSorting Data using BindingSource.Sort Pin
Alessandra7730-Jun-08 4:46
Alessandra7730-Jun-08 4:46 
AnswerRe: Sorting Data using BindingSource.Sort Pin
PIEBALDconsult30-Jun-08 5:41
mvePIEBALDconsult30-Jun-08 5:41 
QuestionAuto update of program (Downloading from web) Pin
Casper Hansen30-Jun-08 4:35
Casper Hansen30-Jun-08 4:35 

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.