Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Hiding Problem

Posted on 2002-06-15
8
Medium Priority
?
169 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 400 total points
ID: 7081075
have you tried:
app.TaskVisible = False
0
 
LVL 16

Expert Comment

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

Expert Comment

by:mlmcc
ID: 7082599
learning
0
 

Author Comment

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

721 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