-
I'm trying to write a program that will not allow a user to access my computer without first entering a password. The basic one windows provides is gay 'cause you can just hit cancel, unless you set it up for networking blah blah blah. I'm very new to VB, although fluent in C++. I have a pretty good program written but there is one flaw. Is there a way I can make my program not show up in the taskmanager window under Windows 98? So you can't close the window by hitting ctrl+alt+delete. Thanks for your help!
-
Code:
App.TaskVisible = False
-
Click that Search Button in the top?
Look for posts by the username of Aaron Young
He wrote a good example for what you are looking for.
Good Luck.
-
The app.taskvisable=false command only works in an active x controller that doesn't have any kind of user interface. Thanks for the suggestion though. I couldn't find that post by aaron young either, but thanks for suggesting! Any more ideas?
-
Code:
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Private Sub Form_Load()
Call RegisterServiceProcess(0&, 1)
End Sub
Private Sub Form_Unload(Cancel As Integer)
Call RegisterServiceProcess(0&, 0)
End Sub
I took that from one of Aaron Youngs posts
[Edited by denniswrenn on 07-18-2000 at 05:53 PM]
-
while programing don't forget to set Form1.controlbox = false and form1.caption = "" then they can't hit the X in the top right corner