Click here to Skip to main content
15,890,527 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionSession cookie problem with HttpWebRequest Pin
garageoffice1-Jun-10 21:56
garageoffice1-Jun-10 21:56 
QuestionFtp over ssl Pin
mon***z1-Jun-10 0:11
mon***z1-Jun-10 0:11 
AnswerRe: Ftp over ssl Pin
Peace ON1-Jun-10 4:26
Peace ON1-Jun-10 4:26 
QuestionExploding .NET solution Pin
Baconbutty31-May-10 23:30
Baconbutty31-May-10 23:30 
AnswerRe: Exploding .NET solution Pin
Pete O'Hanlon31-May-10 23:40
mvePete O'Hanlon31-May-10 23:40 
GeneralRe: Exploding .NET solution Pin
Baconbutty1-Jun-10 0:00
Baconbutty1-Jun-10 0:00 
GeneralRe: Exploding .NET solution Pin
Pete O'Hanlon1-Jun-10 0:37
mvePete O'Hanlon1-Jun-10 0:37 
Questionproblem with messagebox's in a windows service thread Pin
Kalyan_A31-May-10 3:57
professionalKalyan_A31-May-10 3:57 
hi All,

I have an issue for which i need some guidance/help. I've tried to be concise but please excuse me if you do not find it so.

I have a windows service which interacts with ms-office (and other) applications using their API.
I usually switch-off interactivity support if provided by the library/API so that no messagebox's are thrown during execution.
However, occasionally due to an unforeseen situation, we get a msgbox pop-up which blocks the service thread.

Given the nature of the application, its difficult to identify if the thread is blocked due to a message box or due to some processing overhead in the 3rd party application.

one of the solutions i thought of is as follows - implement a monitoring thread to check if the office app does not return control. if control is not returned within a given interval, kill the app and exit the task(which is not best but feasible most of the times)

however this seems more of a brute-force approach and it doesnt tell me what the issue is.
In some of the cases the issue may not be reproducible immediately.

Is there a more graceful approach?
has anyone resolved such an issue earlier on how to identify the above situation?

Thanks in advance
Kalyan
AnswerRe: problem with messagebox's in a windows service thread Pin
Ray Cassick31-May-10 5:46
Ray Cassick31-May-10 5:46 
GeneralRe: problem with messagebox's in a windows service thread Pin
Kalyan_A6-Jun-10 22:56
professionalKalyan_A6-Jun-10 22:56 
Questionexceeding the maximum capacity of value types Pin
prasadbuddhika31-May-10 1:35
prasadbuddhika31-May-10 1:35 
AnswerRe: exceeding the maximum capacity of value types Pin
Luc Pattyn31-May-10 2:11
sitebuilderLuc Pattyn31-May-10 2:11 
GeneralRe: exceeding the maximum capacity of value types Pin
prasadbuddhika31-May-10 2:32
prasadbuddhika31-May-10 2:32 
GeneralRe: exceeding the maximum capacity of value types Pin
Luc Pattyn31-May-10 2:41
sitebuilderLuc Pattyn31-May-10 2:41 
GeneralRe: exceeding the maximum capacity of value types Pin
prasadbuddhika31-May-10 17:52
prasadbuddhika31-May-10 17:52 
GeneralRe: exceeding the maximum capacity of value types Pin
Luc Pattyn31-May-10 17:57
sitebuilderLuc Pattyn31-May-10 17:57 
Questionpassing information Pin
kolisa31-May-10 0:14
kolisa31-May-10 0:14 
AnswerRe: passing information Pin
Henry Minute31-May-10 0:28
Henry Minute31-May-10 0:28 
GeneralRe: passing information Pin
kolisa31-May-10 0:44
kolisa31-May-10 0:44 
GeneralRe: passing information Pin
Henry Minute31-May-10 1:15
Henry Minute31-May-10 1:15 
GeneralRe: passing information Pin
Luc Pattyn31-May-10 2:16
sitebuilderLuc Pattyn31-May-10 2:16 
AnswerRe: passing information Pin
Luc Pattyn31-May-10 2:17
sitebuilderLuc Pattyn31-May-10 2:17 
Question.NET and XML: How can I read nested namespaces (<abc:xyz:name attr=“value”/>)? Pin
Entrase29-May-10 5:35
Entrase29-May-10 5:35 
AnswerRe: .NET and XML: How can I read nested namespaces ()? Pin
Kurt Evenepoel29-May-10 7:40
Kurt Evenepoel29-May-10 7:40 
QuestionReturning data with a bound listbox Pin
surfluds29-May-10 2:18
surfluds29-May-10 2:18 

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.