Or maybe have proper rights set-up on the system for the users. After all Network administrators know how to do this, they should be able to help you out.
Use [code]your code here[/code] tags when you post source code
Search here before you post your question, someone might have already asked it before. My Articles
can u please suggest me some other solution except making it a service?? Because of some reason i cannot make my application a service.. Can u please tell me what event is fired when an application's exe is killed from task manager so that i can restart my application at that event.
Can u please tell me what event is fired when an application's exe is killed from task manager so that i can restart my application at that event.
Um...if your application is killed, what other application are you going to use to tell that it isn't running??? There isn't an event fired...it's the absence of an event because it isn't running.
Creating a service truly is the only pure solution to this problem.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
can u please suggest me some other solution except making it a service?? Because of some reason i cannot make my application a service.. Can u please tell me what event is fired when an application's exe is killed from task manager so that i can restart my application at that event.
Thanx
Ruhii
The proper solution to your problem is present in Post # 5 and Post # 2. You can choose either of the two.
Use [code]your code here[/code] tags when you post source code
Search here before you post your question, someone might have already asked it before. My Articles
Creating a service in Vista is the same as XP. The only difference is that you need to run cmd.exe as an administrator in Vista. Then, all you need is sc.exe.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
EDIT: Note that sc.exe is used to install applications as services. You don't just make a service from VB6. You create an application, and then install it as a service.
Last edited by PeejAvery; May 7th, 2008 at 07:35 AM.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Bookmarks