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

C#

 
Questionint.Parse for percentage values Pin
Luis Alonso Ramos9-Feb-06 16:00
Luis Alonso Ramos9-Feb-06 16:00 
QuestionDropDownList/ListItem Problem Pin
TheMajorRager9-Feb-06 12:53
TheMajorRager9-Feb-06 12:53 
AnswerRe: DropDownList/ListItem Problem Pin
George L. Jackson9-Feb-06 16:06
George L. Jackson9-Feb-06 16:06 
GeneralRe: DropDownList/ListItem Problem Pin
TheMajorRager10-Feb-06 5:34
TheMajorRager10-Feb-06 5:34 
AnswerRe: DropDownList/ListItem Problem Pin
TheMajorRager10-Feb-06 7:59
TheMajorRager10-Feb-06 7:59 
QuestionActive Directory Pin
gjsantana9-Feb-06 12:03
gjsantana9-Feb-06 12:03 
AnswerRe: Active Directory Pin
osamahmirza9-Feb-06 17:35
osamahmirza9-Feb-06 17:35 
QuestionBuild a message pump for a Windows service? Pin
BlackDice9-Feb-06 11:50
BlackDice9-Feb-06 11:50 
I've written a gui app that instantiates objects at runtime, each in its own thread. I've added an eventhandler for each like this:

ADXVoice1.IncomingCall += new ADXVoiceLib._IADXVoiceEvents_IncomingCallEventHandler(OnIncomingCall);

Everything works fine there. But now I've changed this app to be a service. I've got about a million lines that write to the event log (for now) to make sure that I'm actually getting through all the code correctly and everything seems to be going ok. Except the event NEVER FIRES!!

through googling, I've read some stuff about events not firing because services don't have message pumps. Is there any way for me to 'make' a message pump so that these objects will get their events?

thanks in advance!!!

BugReporter[^]

BlackDice
AnswerRe: Build a message pump for a Windows service? Pin
George L. Jackson9-Feb-06 15:07
George L. Jackson9-Feb-06 15:07 
GeneralRe: Build a message pump for a Windows service? Pin
BlackDice10-Feb-06 6:11
BlackDice10-Feb-06 6:11 
GeneralI GOT IT!! Pin
BlackDice10-Feb-06 9:27
BlackDice10-Feb-06 9:27 
QuestionDesign form Error Pin
emran8349-Feb-06 11:22
emran8349-Feb-06 11:22 
Questionproblem in while and for loops Pin
Dr.Sammer9-Feb-06 10:40
Dr.Sammer9-Feb-06 10:40 
AnswerRe: problem in while and for loops Pin
Judah Gabriel Himango9-Feb-06 10:48
sponsorJudah Gabriel Himango9-Feb-06 10:48 
AnswerRe: problem in while and for loops Pin
User 66589-Feb-06 10:49
User 66589-Feb-06 10:49 
GeneralRe: problem in while and for loops Pin
Dr.Sammer9-Feb-06 11:00
Dr.Sammer9-Feb-06 11:00 
GeneralRe: problem in while and for loops Pin
User 66589-Feb-06 11:07
User 66589-Feb-06 11:07 
GeneralRe: problem in while and for loops Pin
Dr.Sammer9-Feb-06 11:10
Dr.Sammer9-Feb-06 11:10 
GeneralRe: problem in while and for loops Pin
User 66589-Feb-06 11:13
User 66589-Feb-06 11:13 
GeneralRe: problem in while and for loops Pin
Dr.Sammer9-Feb-06 11:19
Dr.Sammer9-Feb-06 11:19 
GeneralRe: problem in while and for loops Pin
User 66589-Feb-06 11:22
User 66589-Feb-06 11:22 
GeneralRe: problem in while and for loops Pin
Dr.Sammer9-Feb-06 11:26
Dr.Sammer9-Feb-06 11:26 
GeneralRe: problem in while and for loops Pin
LongRange.Shooter10-Feb-06 2:14
LongRange.Shooter10-Feb-06 2:14 
QuestionArray declaration without specifying the size. Pin
emran8349-Feb-06 10:38
emran8349-Feb-06 10:38 
AnswerRe: Array declaration without specifying the size. Pin
Judah Gabriel Himango9-Feb-06 10:46
sponsorJudah Gabriel Himango9-Feb-06 10:46 

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.