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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
if yes , which language do you prefer to work on ?
thanks
C++ is most suitable language for creating services.
Cheers
Cheers
VB in general is not suitable for creating services. This does not mean that one concrete VB service can run without problems.
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 ,
i will be gratefull if you do that ,
http://vbwire.com/advanced/howto/service.asp