CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2000
    Posts
    9

    Questionson Win 9X startup

    hi,
    I have created a password app that works ok.
    a few things I need to figure out are:
    1.how do I get it to run before windows desktop loads?
    right nowI have it loaded in the "run" section of my registry.in a sense this works just likebeing in the start folder.
    2.how do make it run only if the user uses the escape button or logs on withoutNT authenication?

    Any help appreciated



  2. #2
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: Questionson Win 9X startup

    you could make a form and when it loads it hides desktop's icon, and taskbar, if password is incorrect program will log off the current user or restart the PC, other then that I have no idea how to make for to start before windows does...umm, maybe Autoexec.bat??? that should load your exe before windows is completely loaded

    Good Luck!!!


  3. #3
    Join Date
    Feb 2000
    Posts
    9

    Re: Questionson Win 9X startup

    Thanks,I will try the strat up in Autoexec.bat


  4. #4
    Join Date
    Feb 2000
    Posts
    9

    Re: Questionson Win 9X startup

    Thanks,I will try the start up in Autoexec.bat


  5. #5
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Questionson Win 9X startup

    That's not going to work - a VB program needs windows to be running first.

    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

  6. #6
    Join Date
    Feb 2000
    Posts
    9

    Re: Questionson Win 9X startup

    hmmm.Any suggestions?


  7. #7
    Guest

    Re: Questionson Win 9X startup

    HKLM\software\microsoft\windows\current version\runservices
    create a string value with the path to your exe. Programs here run before a network login.


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

Featured