|
-
Jul 18th, 2000, 10:15 AM
#1
Thread Starter
New Member
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!
-
Jul 18th, 2000, 10:22 AM
#2
Addicted Member
Code:
App.TaskVisible = False
Visual Basic 6 Enterprise Edition + SP4
-
Jul 18th, 2000, 12:36 PM
#3
Addicted Member
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.
-
Jul 18th, 2000, 03:45 PM
#4
Thread Starter
New Member
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?
-
Jul 18th, 2000, 04:50 PM
#5
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]
-
Jul 18th, 2000, 07:52 PM
#6
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|