• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 144
  • Last Modified:

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
0
xodos
Asked:
xodos
  • 3
  • 2
1 Solution
 
EDDYKTCommented:
If you have trouble to create service, then

http://vbwire.com/advanced/howto/service.asp
0
 
SmallintCommented:
You must be aware of certains unstabilities when creating services in VB.

Take a look here

http://support.microsoft.com/kb/175948/EN-US/


Cheers
0
 
xodosAuthor Commented:
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
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
SmallintCommented:
C++ is most suitable language for creating services.

Cheers
0
 
SmallintCommented:
VB in general is not suitable for creating services. This does not mean that one concrete VB service can run without problems.
0
 
xodosAuthor Commented:
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 ,
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now