Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > VB Classic

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-02-2001, 07:02 AM
anonymous anonymous is offline
Senior Member
 
Join Date: Aug 2004
Posts: 43,023
run application as a service

[Originally posted by Lester Miyaoka]

Hi,
I am using srvany.exe to run my vb app as a service, however, the application appears in the task manager's application list and thus can be "killed".
HOW DO I HIDE THE APPLICATION FROM THE TASK MANAGER?

THANKS

Lester Miyaoka
lmiyaoka@yahoo.com
Reply With Quote
  #2  
Old 10-02-2001, 08:11 AM
anonymous anonymous is offline
Senior Member
 
Join Date: Aug 2004
Posts: 43,023
Re:run application as a service

[Originally posted by mike]

Hiding the task from task manager - now wouldnt that defeat the purpose of security management? Wouldnt that just make for an especially nasty app?

Reply With Quote
  #3  
Old 10-02-2001, 08:37 AM
anonymous anonymous is offline
Senior Member
 
Join Date: Aug 2004
Posts: 43,023
Re:Re:run application as a service

[Originally posted by Lester Miyaoka]

we are running a closed network and want to place a banner (apptoolbar) on the top portion of the screen.’ but we do not want our users to remove it.
Reply With Quote
  #4  
Old 10-04-2001, 03:37 AM
anonymous anonymous is offline
Senior Member
 
Join Date: Aug 2004
Posts: 43,023
Re:Re:Re:run application as a service

[Originally posted by Paul Deen]

Have you tried that you can actually kill it with the taskmanager? I mean, aren't services protected against getting killed by the task manager?

Or perhaps you could disable the task manager, isn't that possible?
Reply With Quote
  #5  
Old 10-04-2001, 03:47 AM
anonymous anonymous is offline
Senior Member
 
Join Date: Aug 2004
Posts: 43,023
Re:run application as a service

[Originally posted by Nick Dawkes]

Do you need to hide it form task manager
Can you not just find out how its being closed down in the query unload event of the form and then then cancel the unload request ie

If unloadmode’ = vbAppWindows then
’ cancel = false
else
’ 'vbFormControlMenu
’ 'vbFormCode
’ 'vbAppWindows
’ 'vbAppTaskManager
’ 'vbFormMDIForm
’ 'vbFormOwner
’ Cancel = True
End if

cheers
nick
Reply With Quote
  #6  
Old 05-20-2002, 02:13 PM
anonymous anonymous is offline
Senior Member
 
Join Date: Aug 2004
Posts: 43,023
Re:Re:Re:run application as a service

[Originally posted by Jason Whitaker]

Why dont you use Active Directory or the MMC to tie down your network

EI. Dont allow Users to Disable a service??
’ ’ ’ ’ Just a thought but seems to work for me.
’ ’ ’ ’ After all thats what NTFS is good at.

Jase
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:24 PM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.