Click here to Skip to main content
15,910,411 members
Home / Discussions / C#
   

C#

 
GeneralRe: Close Firefox with C# Pin
nhqlbaislwfiikqraqnm13-Aug-09 22:51
nhqlbaislwfiikqraqnm13-Aug-09 22:51 
GeneralRe: Close Firefox with C# Pin
0x3c013-Aug-09 22:54
0x3c013-Aug-09 22:54 
GeneralRe: Close Firefox with C# Pin
nhqlbaislwfiikqraqnm13-Aug-09 22:59
nhqlbaislwfiikqraqnm13-Aug-09 22:59 
GeneralRe: Close Firefox with C# Pin
Eddy Vluggen13-Aug-09 23:14
professionalEddy Vluggen13-Aug-09 23:14 
GeneralRe: Close Firefox with C# Pin
nhqlbaislwfiikqraqnm13-Aug-09 23:41
nhqlbaislwfiikqraqnm13-Aug-09 23:41 
GeneralRe: Close Firefox with C# Pin
Eddy Vluggen13-Aug-09 23:55
professionalEddy Vluggen13-Aug-09 23:55 
GeneralRe: Close Firefox with C# Pin
Pete O'Hanlon14-Aug-09 1:10
mvePete O'Hanlon14-Aug-09 1:10 
GeneralRe: Close Firefox with C# Pin
0x3c014-Aug-09 1:31
0x3c014-Aug-09 1:31 
That seems a little odd. What if I've got a window of my own which has got the title "Mozilla Firefox Bookmark Importer"? It might be more effective to alter EnumWindowsProc so that it gets the process id of the given handle, and closes the window if the process id is correct.

That would change the function of the class, so that instead of closing windows based on a title, (which might not be unique) it closes windows based on a process id (which is guaranteed to be unique)

Between the idea
And the reality
Between the motion
And the act
Falls the Shadow

GeneralRe: Close Firefox with C# Pin
Pete O'Hanlon14-Aug-09 1:47
mvePete O'Hanlon14-Aug-09 1:47 
GeneralRe: Close Firefox with C# Pin
0x3c014-Aug-09 2:01
0x3c014-Aug-09 2:01 
GeneralRe: Close Firefox with C# Pin
Pete O'Hanlon14-Aug-09 2:28
mvePete O'Hanlon14-Aug-09 2:28 
GeneralRe: Close Firefox with C# Pin
PRMan!!!16-Oct-09 12:12
PRMan!!!16-Oct-09 12:12 
AnswerRe: Close Firefox with C# Pin
benjymous14-Aug-09 1:37
benjymous14-Aug-09 1:37 
GeneralRe: Close Firefox with C# Pin
nhqlbaislwfiikqraqnm15-Aug-09 10:24
nhqlbaislwfiikqraqnm15-Aug-09 10:24 
QuestionAForge.NET Pin
SP Vilakazi13-Aug-09 21:27
SP Vilakazi13-Aug-09 21:27 
AnswerRe: AForge.NET Pin
Pete O'Hanlon13-Aug-09 21:57
mvePete O'Hanlon13-Aug-09 21:57 
Questiontriggering the mouse click and hold event Pin
prasadbuddhika13-Aug-09 21:21
prasadbuddhika13-Aug-09 21:21 
AnswerRe: triggering the mouse click and hold event Pin
musefan13-Aug-09 21:52
musefan13-Aug-09 21:52 
AnswerRe: triggering the mouse click and hold event Pin
OriginalGriff13-Aug-09 21:54
mveOriginalGriff13-Aug-09 21:54 
QuestionHelp with Entity framework approach. Pin
SpiveyC#13-Aug-09 21:01
SpiveyC#13-Aug-09 21:01 
AnswerRe: Help with Entity framework approach. Pin
Henry Minute14-Aug-09 13:46
Henry Minute14-Aug-09 13:46 
GeneralRe: Help with Entity framework approach. Pin
SpiveyC#14-Aug-09 23:22
SpiveyC#14-Aug-09 23:22 
QuestionDynamically Loading Custom Control Pin
Matt Cavanagh13-Aug-09 20:46
Matt Cavanagh13-Aug-09 20:46 
AnswerRe: Dynamically Loading Custom Control Pin
SpiveyC#13-Aug-09 21:03
SpiveyC#13-Aug-09 21:03 
GeneralRe: Dynamically Loading Custom Control Pin
Matt Cavanagh13-Aug-09 21:16
Matt Cavanagh13-Aug-09 21:16 

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.