Click here to Skip to main content
15,908,013 members
Home / Discussions / C#
   

C#

 
QuestionCreate a excelfile in C# - save with version Pin
Mschauder1-Feb-10 23:17
Mschauder1-Feb-10 23:17 
AnswerRe: Create a excelfile in C# Pin
Richard MacCutchan1-Feb-10 23:42
mveRichard MacCutchan1-Feb-10 23:42 
QuestionRe: Create a excelfile in C# Pin
Mschauder2-Feb-10 1:27
Mschauder2-Feb-10 1:27 
AnswerRe: Create a excelfile in C# Pin
Mschauder2-Feb-10 1:58
Mschauder2-Feb-10 1:58 
QuestionMessage Removed Pin
1-Feb-10 23:11
amasterisout1-Feb-10 23:11 
AnswerRe: Text of ToolStripItem derived objects won't appear when added to a ContextMenuStrip Pin
freakyit2-Feb-10 2:14
freakyit2-Feb-10 2:14 
GeneralRe: Text of ToolStripItem derived objects won't appear when added to a ContextMenuStrip Pin
amasterisout2-Feb-10 6:28
amasterisout2-Feb-10 6:28 
Questionmulticolumn listview Pin
Member 5903101-Feb-10 22:48
Member 5903101-Feb-10 22:48 
AnswerRe: multicolumn listview Pin
Richard MacCutchan1-Feb-10 23:45
mveRichard MacCutchan1-Feb-10 23:45 
QuestionOuter border - Tablelayoutpanel Pin
anoopkamboj1-Feb-10 21:16
anoopkamboj1-Feb-10 21:16 
AnswerRe: Outer border - Tablelayoutpanel Pin
OriginalGriff1-Feb-10 23:15
mveOriginalGriff1-Feb-10 23:15 
QuestionProblem with TAPI [modified] Pin
saeidfarahi1-Feb-10 19:53
saeidfarahi1-Feb-10 19:53 
QuestionC# Server running in mono on linux Pin
justwithit1-Feb-10 19:45
justwithit1-Feb-10 19:45 
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 

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.