Results 1 to 5 of 5

Thread: need help with Qbasic program

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    Winchester
    Posts
    1

    Cool need help with Qbasic program

    Hi, can anyone help me out with this problem

    I need to make it so a program is unexitable untill it has finished eg. disabled ctrl, alt, del etc.

    also is there anyway of making a progress bar or something that looks like a progress bar move

    eg |||||||||||||||| then |||||||||||||||||||||||||||||||||||||
    or similar

    any help would be great, thanks
    Chappster Uk

  2. #2
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278

    Impossible

    I do not think it is possible to disable Ctrl-Alt-DEl in QB-Code. Maybe you could by directly writing to keyboard memory(its over my head)

  3. #3
    Lively Member Professor29's Avatar
    Join Date
    Feb 2002
    Posts
    89
    I believe that someone HAS written a program for just that purpose. I think I saw one at www.qbasic.com, you might want to look there. Even if they don't have one (I haven't looked at that site for quite some time.) they have other useful and humorous programs. They also have a decent collection of games.

    EDIT: The program I was thinking about disables <Ctrl>-<Break>, not <ctrl>-<alt>-<delete>. Click here to go directly to the list containing it.
    Last edited by Professor29; Aug 30th, 2002 at 02:14 PM.
    ERROR: No keyboard detected. Hit F1 to continue.

  4. #4
    New Member
    Join Date
    Sep 2002
    Posts
    1
    Technically, it could probably be done using an interrupt; just catch the keyboard in an exception when the interrupt fires (just like mouse handling) and overwrite the data sent to the BIOS in the keyboard buffer before it gets there... I think.
    Shah Mat
    Lord of the Land Of COnfusion (LOCO)

  5. #5
    Addicted Member
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    243
    qbasic 7.1 future library can handle API calls so you might be in luck there. So i'v heared

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