Solved

Hiding Problem

Posted on 2002-06-15
8
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

726 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