Link to home
Start Free TrialLog in
Avatar of Pleinpopossum
Pleinpopossum

asked on

NT Service + Visual Basic

Hello here are a lot of points for the one who will be able to help me :-)

I'm creating a mail dispatcher. This is a program which retrieves mails from pop accounts and send them to users (the way exchange does but I can't use exchange as our needs are to specific). I built a standart program which works fine. Now I would like to use it as a NT service. I read a lot of things on the microsoft web site. I also found some articles about services on that site and on ther web sites but I didn't understand everything.

If someone may explain and help me to complete my project step by step I'd be happy to great him with a large amount of points and all my best whishes :-)

thanks a lot...

P.S. I'll probably have a lot of questions to ask to the one (to thoses ?) who will help me. Don't be afraid :-)
ASKER CERTIFIED SOLUTION
Avatar of hes
hes
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amira_d
amira_d

two ways of doing it:
1'st use the ntsrv.ocx (wasnt usefull for me)
second: use the INSTSRV.exe and the SRVANY.exe from the nt resource kit (follow this link - it has all the usefull inf http://support.microsoft.com/support/kb/articles/Q193/2/38.ASP)
Pleinpopossum, you really need to come back to all of your questions.
-- Woohoo, I have the VB source for creating a service ;o)
But I'm not going to waste it... :o(
Check this: http://mvps.org/st-software/Code/VB_SRVC.zip
It's quite old and originally, written for WinNT3.51 but I tested it successfully with Win2k -- how does one remove a service? ;o)
Please close out this question.  If the correct solution has been provided, accept it as an answer and award an appropriate grade.  If no solution was offered that helped you, let the experts know why their solution did not work, and delete the question.  Failure to maintain your questions is grounds for account termination.



TonyS
Community Support Moderator @ Experts Exchange
Avatar of Pleinpopossum

ASKER

Damn !

I thought I did it. I'm sorry I probably had a problem when accepting the answer (the network is sometimes so slow that I stop before the "success" page appears).

Thanks to everyone for helping me. I'll wait for VB.NET to create my service so that I am sure it will work properly

Cheers
Thank you very much. Your help was useful to me. I won't use the solutions you provided to me but I learnt a lot about services in following that route.

See you...