Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Server running in mono on linux Pin
Migounette2-Feb-10 7:30
Migounette2-Feb-10 7:30 
GeneralRe: C# Server running in mono on linux Pin
Migounette2-Feb-10 7:31
Migounette2-Feb-10 7:31 
GeneralRe: C# Server running in mono on linux Pin
justwithit2-Feb-10 11:00
justwithit2-Feb-10 11:00 
GeneralRe: C# Server running in mono on linux Pin
Migounette4-Feb-10 6:42
Migounette4-Feb-10 6:42 
QuestionControl Message Box Pin
satsumatable1-Feb-10 19:19
satsumatable1-Feb-10 19:19 
AnswerRe: Control Message Box Pin
Eric (eD)1-Feb-10 19:33
Eric (eD)1-Feb-10 19:33 
GeneralRe: Control Message Box Pin
satsumatable1-Feb-10 19:36
satsumatable1-Feb-10 19:36 
AnswerRe: Control Message Box Pin
V.2-Feb-10 1:03
professionalV.2-Feb-10 1:03 
If I understand correctly you're trying to close 'popups' that appear from another application, right?

In that case you'll need to import some windows dll's (winapi) (I think you'll need the user32.dll, but I'm not sure) that expose the Windows functions like FindWindows, GetDlgText, etc... With those functions you'll need to:
1: Find the correct window (probably need a loop that will redo this every x seconds)
2: if window is open (= encountered in step 1), press the button (Yes, No, OK, Cancel) I don't know the exact function for this, but it exists. avoid closing or killing the msgbox, instead try to let the msgbox handle itself by using one of the closing buttons.

You'll have to find the correct functions and signatures on MSDN, but there is a lot of info out there about this topic.

V.

Stop smoking so you can: Enjoy longer the money you save.
Moviereview Archive

QuestionLinq with Link List Pin
Khaniya1-Feb-10 19:15
professionalKhaniya1-Feb-10 19:15 
AnswerRe: Linq with Link List Pin
Calla1-Feb-10 21:32
Calla1-Feb-10 21:32 
GeneralRe: Linq with Link List Pin
Khaniya1-Feb-10 22:19
professionalKhaniya1-Feb-10 22:19 
GeneralRe: Linq with Link List Pin
Anurag Gandhi2-Feb-10 0:04
professionalAnurag Gandhi2-Feb-10 0:04 
GeneralRe: Linq with Link List Pin
Khaniya2-Feb-10 17:45
professionalKhaniya2-Feb-10 17:45 
Questionis Global variable good or bad in c#.net? Pin
vnsraj1-Feb-10 18:46
vnsraj1-Feb-10 18:46 
AnswerRe: is Global variable good or bad in c#.net? Pin
Eric (eD)1-Feb-10 19:30
Eric (eD)1-Feb-10 19:30 
GeneralRe: is Global variable good or bad in c#.net? Pin
#realJSOP1-Feb-10 23:37
mve#realJSOP1-Feb-10 23:37 
AnswerRe: is Global variable good or bad in c#.net? Pin
dojohansen1-Feb-10 23:29
dojohansen1-Feb-10 23:29 
QuestionHow to swap bounded columns to rows in datagridview Pin
VenkataRamana.Gali1-Feb-10 18:43
VenkataRamana.Gali1-Feb-10 18:43 
AnswerRe: How to swap bounded columns to rows in datagridview Pin
Anurag Gandhi1-Feb-10 20:07
professionalAnurag Gandhi1-Feb-10 20:07 
Questiondownloading file. in response: "Content-Disposition: attachment; filename="file.gif"" Pin
hello_amigo1-Feb-10 15:46
hello_amigo1-Feb-10 15:46 
AnswerRe: downloading file. in response: "Content-Disposition: attachment; filename="file.gif"" Pin
Not Active1-Feb-10 16:17
mentorNot Active1-Feb-10 16:17 
QuestionDynamic Multiple Dropdown Lists using Access Database Pin
scorpio221-Feb-10 13:44
scorpio221-Feb-10 13:44 
AnswerCross post Pin
Not Active1-Feb-10 16:14
mentorNot Active1-Feb-10 16:14 
GeneralRe: Cross post Pin
scorpio222-Feb-10 1:33
scorpio222-Feb-10 1:33 
GeneralRe: Cross post Pin
Not Active2-Feb-10 1:56
mentorNot Active2-Feb-10 1:56 

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.