Results 1 to 6 of 6

Thread: security program

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    3

    Question

    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!

  2. #2
    Addicted Member
    Join Date
    Apr 2000
    Location
    Sheffield, England.
    Posts
    136
    Code:
    App.TaskVisible = False
    Visual Basic 6 Enterprise Edition + SP4

  3. #3
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226
    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.


  4. #4

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    3
    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?

  5. #5
    Guest
    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]

  6. #6
    Lively Member
    Join Date
    May 1999
    Location
    Orange County
    Posts
    68
    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
  •  



Click Here to Expand Forum to Full Width