Link to home
Start Free TrialLog in
Avatar of xodos
xodos

asked on

create a service in a visual basic 6

dear sir
i want to create an exe file which runs in the background as a service ,
it monitors the process aaa.exe always , and when this process unloaded , it waits for 30 seconds and load it again from
the system root\aaa.exe
which means , if the process aaa.exe has been killed , the service waits for 30 seconds to run aaa.exe , but if someone runs aaa.exe before 30 seconds then the service musnt do anything , but only monitoring aaa.exe
thanks
Avatar of EDDYKT
EDDYKT
Flag of Canada image

If you have trouble to create service, then

http://vbwire.com/advanced/howto/service.asp
ASKER CERTIFIED SOLUTION
Avatar of Smallint
Smallint

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 xodos
xodos

ASKER

did you mean that a service in vb is not good to work on ?
if yes , which language do you prefer to work on ?
thanks
C++ is most suitable language for creating services.

Cheers
VB in general is not suitable for creating services. This does not mean that one concrete VB service can run without problems.
Avatar of xodos

ASKER

ok  , then , write for me a code in c++ and tell me where to download this developper to compile the code ,
i will be gratefull if you do that ,