Solved

Hiding Problem

Posted on 2002-06-15
8
162 Views
Last Modified: 2010-05-02
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
Comment
Question by:vijayrajv
8 Comments
 
LVL 5

Expert Comment

by:kcm76
ID: 7080197
meaning, u dont want to show to application in **close program** window when the user enters CTRL+ALT+DEL ?

0
 
LVL 1

Expert Comment

by:Omycron
ID: 7080274
Why ?
Sounds like a virus ;-)
0
 
LVL 3

Expert Comment

by:SirNick
ID: 7080294
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
 
LVL 1

Expert Comment

by:Toad224
ID: 7080349
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 28

Accepted Solution

by:
vinnyd79 earned 100 total points
ID: 7081075
have you tried:
app.TaskVisible = False
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7081099
Hearing...
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 7082599
learning
0
 

Author Comment

by:vijayrajv
ID: 7083025
Thnx for ur exact ans.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now