Go Back   Computer Forums > General Computing > Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 12-09-2004, 02:29 PM   #1
Baseband Member
Iceman's Avatar
Join Date: Dec 2004
Posts: 52
Question Stopping a task from ending (VB)

Im writing a program that i dont i dont want to be terminated by taskmgr or any other program. I know i could create another program to check it and reopen it if necessary but i dont want to do that. Any suggestions( any way to register it as a system task ) and by the way im using visual basic 6.0

Iceman is offline   Reply With Quote
Old 12-13-2004, 04:57 AM   #2
Lord Kalthorn's Avatar
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn

Ah hahahaha!

Lol; you won't be able to stop a program being closed by Task Manager in C or C++, let alone Visual Basic - and certainly not Visual Basic 6.0.

As for making it a System Task - even if it was, it can still be closed down, and you again won't be able to make it do that in Visual Basic - if indeed Microsoft let out code samples for that sort of thing generally instead of just to large companies with contracts to do decent things with the knowledge; which you obviously aren't doing

A program that will open the original if its closed... you'd have to make some kind of checking Application to integrate with the Task Manager's knowledge basically - I don't know how you could do that but you won't be able to in Visual Basic.

A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 12-13-2004, 11:59 AM   #3
Baseband Member
Iceman's Avatar
Join Date: Dec 2004
Posts: 52

well, since thats not gonna work, i could always try running it in another programs memory (by the way, its a security program for for a company, not supposed to be closed by the employees, keeps them out of certain programms and stuff)
Iceman is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 08:50 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0