need help quick

im working on a password program for PC's, i want the program to start automaticly when the computer is switched on and then start windows when the program has finished. dose anyone know how to do this. if you want to see the program so far, just send me an e-mail at y2keable@hotmail.com

cheers

Comments

  • : im working on a password program for PC's, i want the program to start automaticly when the computer is switched on and then start windows when the program has finished. dose anyone know how to do this. if you want to see the program so far, just send me an e-mail at y2keable@hotmail.com
    :
    : cheers
    :
    :
    The one thing you must to do is make an EXE file and put a line calling it in AUTOEXEC.BAT file. But, if you are making your password program in QBasic, be aware, because QB accepts Ctrl+Break to end a program. Then, when your program is requesting password, the user can press these keys and continue using Windows.
  • : : im working on a password program for PC's, i want the program to start automaticly when the computer is switched on and then start windows when the program has finished. dose anyone know how to do this. if you want to see the program so far, just send me an e-mail at y2keable@hotmail.com
    : :
    : : cheers
    : :
    : :
    : The one thing you must to do is make an EXE file and put a line calling it in AUTOEXEC.BAT file. But, if you are making your password program in QBasic, be aware, because QB accepts Ctrl+Break to end a program. Then, when your program is requesting password, the user can press these keys and continue using Windows.
    :
    How do you mean? should i re-name it from passwordprog.exe to autoexec.bat? or should i make another program called autoexec.bat and simply key in; RUN "passwordprog,exe"?

  • To make EXE files, you must have QB 4.5. You can download it from http://www27.brinkster.com/camsqbasic. In menu RUN, you have the option MAKE EXE FILE. With it, you can transform your QB code in a EXEcutable File, then, you will no longer use QB to run it!
    After creating an EXE file (don't forget to use the 'Stand-alone EXE file' option instead of 'EXE requiring BRUN45.exe', you can simply put a line calling it in C:AUTOEXEC.BAT.

    This batch file is executed every time the computer is started, and is executed before WINDOWS.

    Example: you have PASSWORD.BAS.
    1. Open with QB 4.5
    2. Choose RUN->MAKE EXE FILE
    3. Select STAND-ALONE EXE FILE
    4. Click on "Make EXE and Exit" button
    4b. If there is any error, solve it and go to step 1
    5. Edit your AUTOEXEC.BAT, adding the line:
    C:FOLDERPASSWORD.EXE
    6. Reboot. If you followed all the steps correctly, you'll see your program being executed before Windows starts.

    Note: QB 4.5 doesn't allow terminating your program with Ctrl+Break, then, the unique form of continue using Windows is typing in the correct password.

    Davi Medrade
    So Paulo - Brazil

    P.S.: Sorry because of my poor English. My mother language is Portuguese...
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories