Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Event won't fire... Help please

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob Smeets - 27 Jan 2006 16:16 GMT
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
Sinu - 29 Jan 2006 14:11 GMT
If you are running the component as a service then I am sorry you cannot get
visual interface. Why dont you instead log this information of successful or
unsuccessful login intot he event log or any other log file?
Hope this helps.
Thanks

Signature

Shrinivas Reddy.
Systems Analyst
Satyam Computer Services Ltd.

> Hi all,
>
[quoted text clipped - 26 lines]
>
> Rob Smeets
Sinu - 29 Jan 2006 14:11 GMT
If you are running the component as a service then I am sorry you cannot get
visual interface. Why dont you instead log this information of successful or
unsuccessful login intot he event log or any other log file?
Hope this helps.
Thanks

Signature

Shrinivas Reddy.
Systems Analyst
Satyam Computer Services Ltd.

> Hi all,
>
[quoted text clipped - 26 lines]
>
> Rob Smeets

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.