Solved

Hiding Problem

Posted on 2002-06-15
8
161 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

744 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

13 Experts available now in Live!

Get 1:1 Help Now