Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

Hiding Problem

How to hide the VB executable(run time) from CTRL+ALT+DEL (i.e. Close program dialog box). I Know how to hide it from Taskbar and  ALT+TAB, plz don’t suggest that.
0
vijayrajv
Asked:
vijayrajv
1 Solution
 
Chandramouli kArchitectCommented:
meaning, u dont want to show to application in **close program** window when the user enters CTRL+ALT+DEL ?

0
 
OmycronCommented:
Why ?
Sounds like a virus ;-)
0
 
SirNickCommented:
Hi vijayrajv

Sometimes developers want to hide their programs from the tasklist for a genuwine purpose,  I just hope that you need to do this for the right reason and not for creating a virus like Omycron has already pointed out.  I'll give you the benefit of the dout.  Look at the following link

http://www.freevbcode.com/ShowCode.Asp?ID=930
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
Toad224Commented:
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long

Private Sub Service(Hidden As Boolean)
pid = GetCurrentProcessId()
regserv = RegisterServiceProcess(pid, Hidden)
End Sub


To make your program hidden, call Service(true)    to unhide it, call Service(false)


Hope this helps.  Good luck!
0
 
vinnyd79Commented:
have you tried:
app.TaskVisible = False
0
 
Richie_SimonettiIT OperationsCommented:
Hearing...
0
 
mlmccCommented:
learning
0
 
vijayrajvAuthor Commented:
Thnx for ur exact ans.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

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