![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, Please help me because i'm stuck. Im developing a program to collect information from an information broker. Because of security reasons my application has to work as a service. I've build a few classes, and i'm using a component delivered to me by the information brokers. To test my classes, i've build a small form with just one button. I ask the component to send a login, and asynchronicly i'm told through an event if my login has been succeeded. This works perfect... But if i use the same components in a service, the login request is send... But the event telling me the login has succeeded never fires. Even if i explicitly add a delegate to the event code... The code that begins the process is the same in the form (behind a button) as in the Service (behind a timer elapsed event). { Dim objBussinessRules as new BusinessRules objBusinessRules.GetInfo } Could anybody tell me what is happening? Help would be greatly appiciated!!! Thanks in advance! Rob Smeets |
#3
| |||
| |||
|
|
Hi all, Please help me because i'm stuck. Im developing a program to collect information from an information broker. Because of security reasons my application has to work as a service. I've build a few classes, and i'm using a component delivered to me by the information brokers. To test my classes, i've build a small form with just one button. I ask the component to send a login, and asynchronicly i'm told through an event if my login has been succeeded. This works perfect... But if i use the same components in a service, the login request is send... But the event telling me the login has succeeded never fires. Even if i explicitly add a delegate to the event code... The code that begins the process is the same in the form (behind a button) as in the Service (behind a timer elapsed event). { Dim objBussinessRules as new BusinessRules objBusinessRules.GetInfo } Could anybody tell me what is happening? Help would be greatly appiciated!!! Thanks in advance! Rob Smeets |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |