Click here to Skip to main content
15,895,777 members
Home / Discussions / C#
   

C#

 
QuestionRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan17-Jun-16 21:10
mveRichard MacCutchan17-Jun-16 21:10 
AnswerRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Manoj Kumar Miriyala17-Jun-16 21:21
professionalManoj Kumar Miriyala17-Jun-16 21:21 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan17-Jun-16 21:44
mveRichard MacCutchan17-Jun-16 21:44 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
BillWoodruff17-Jun-16 23:18
professionalBillWoodruff17-Jun-16 23:18 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan17-Jun-16 23:19
mveRichard MacCutchan17-Jun-16 23:19 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
BillWoodruff17-Jun-16 23:48
professionalBillWoodruff17-Jun-16 23:48 
GeneralRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
Richard MacCutchan19-Jun-16 21:25
mveRichard MacCutchan19-Jun-16 21:25 
AnswerRe: creating a folder on console application with c# by clicking on it's .exe file ! Pin
BillWoodruff17-Jun-16 23:45
professionalBillWoodruff17-Jun-16 23:45 
First, I have never seen any application that exhibits this type of behavior; I think you must have a very strong reason for doing something so unusual.

There are three strategies you could pursue:

1. create a Windows Explorer-scope context-click menu extension that showed an option to create a folder for every Application context-clicked on. I would find such a menu extension very annoying.

To research this, start here: [^],

2. create a Windows Global Application Hook that would detect selection of a .exe file, and raise an Event you could process. I have never seen anyone try to create an Application Hook from a Console app, but, that doesn't mean it could not be done.

I suggest reading/studying this MSDN article first: [^].

There are several articles here on CodeProject on Windows Global App Hooks; I suggest you start with this one by George Mamaldze: [^]; then, search for and read other articles here on the same topic.

3. try to enumerate every Explorer window open and get the selected files/folders: [^].

In all these cases I think you are going to have a headache trying to implement them in a Console app, and I think the result will be not too useful.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008


modified 19-Jun-16 7:29am.

QuestionHow to export a result table and charts from RDotNet to Excel Pin
Member 1085025317-Jun-16 15:45
Member 1085025317-Jun-16 15:45 
AnswerRe: How to export a result table and charts from RDotNet to Excel Pin
Garth J Lancaster17-Jun-16 16:40
professionalGarth J Lancaster17-Jun-16 16:40 
GeneralRe: How to export a result table and charts from RDotNet to Excel Pin
Member 1085025323-Jun-16 11:41
Member 1085025323-Jun-16 11:41 
GeneralRe: How to export a result table and charts from RDotNet to Excel Pin
Garth J Lancaster23-Jun-16 16:12
professionalGarth J Lancaster23-Jun-16 16:12 
GeneralRe: How to export a result table and charts from RDotNet to Excel Pin
Member 1085025323-Jun-16 16:22
Member 1085025323-Jun-16 16:22 
QuestionCan't get the replace to work, and double check my work. Pin
jkirkerx17-Jun-16 11:11
professionaljkirkerx17-Jun-16 11:11 
AnswerMy Bad, perhaps I can just get that double check Pin
jkirkerx17-Jun-16 11:19
professionaljkirkerx17-Jun-16 11:19 
QuestionError while trying to use R.Net in VS 2012 Pin
Member 1085025317-Jun-16 5:39
Member 1085025317-Jun-16 5:39 
AnswerRe: Error while trying to use R.Net in VS 2012 Pin
OriginalGriff17-Jun-16 5:47
mveOriginalGriff17-Jun-16 5:47 
QuestionHelp me gather info about multiple monitors Pin
Tomaž Štih17-Jun-16 3:41
Tomaž Štih17-Jun-16 3:41 
AnswerRe: Help me gather info about multiple monitors Pin
BillWoodruff17-Jun-16 23:52
professionalBillWoodruff17-Jun-16 23:52 
GeneralRe: Help me gather info about multiple monitors Pin
Tomaž Štih18-Jun-16 3:52
Tomaž Štih18-Jun-16 3:52 
GeneralRe: Help me gather info about multiple monitors Pin
BillWoodruff18-Jun-16 19:06
professionalBillWoodruff18-Jun-16 19:06 
QuestionI want to show my GPS cursor in Mapwingis, how to do it? Pin
Member 1241411416-Jun-16 3:55
Member 1241411416-Jun-16 3:55 
AnswerRe: I want to show my GPS cursor in Mapwingis, how to do it? Pin
Pete O'Hanlon16-Jun-16 21:40
mvePete O'Hanlon16-Jun-16 21:40 
GeneralRe: I want to show my GPS cursor in Mapwingis, how to do it? Pin
Member 1241411416-Jun-16 22:32
Member 1241411416-Jun-16 22:32 
GeneralRe: I want to show my GPS cursor in Mapwingis, how to do it? Pin
Pete O'Hanlon16-Jun-16 22:37
mvePete O'Hanlon16-Jun-16 22:37 

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.