Results 1 to 5 of 5

Thread: forms question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Posts
    64

    Post

    ok, how can i make a form so that it is modal, and by that i mean, how can i make a form so that the user can do nothing until he responds to it. kinda like how the CTRL+ALT+DEL window is, you can't do ****, till u close it. cuz i'm making a screensaver, and i don't want him to be able to do anything untill he enters the right pw. please help. thanx



    ------------------
    Charlie Jacquez
    16 Year Old Software Developer
    Email: cjwares@hotmail.com
    Web: CJWARES Online
    AIM: CJWARES, SlimmShadee2000, or BIOSzapper
    ICQ: 58493454
    I program: Basic, Visual Basic, HTML, and TI-Calculators
    My System Specs: Click here


  2. #2
    Lively Member
    Join Date
    Jan 2000
    Posts
    102

    Post

    very easy.

    you have frmCaller and frmModal
    (just 2 names).
    on frmCaller button click or something do:

    frmCaller.Show vbModal, frmModal.

    you can also might wanna use InputBox which is simple for small modal forms.

    hope it helps, itay.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 1999
    Posts
    64

    Post

    thanx, but that's not quite what i'm lookin for. i want it to completely stop windows untill the user responds. just like the CTRL+ATL+DEL window.

    ------------------
    Charlie Jacquez
    16 Year Old Software Developer
    Email: cjwares@hotmail.com
    Web: CJWARES Online
    AIM: CJWARES, SlimmShadee2000, or BIOSzapper
    ICQ: 58493454
    I program: Basic, Visual Basic, HTML, and TI-Calculators
    My System Specs: Click here


  4. #4
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    You could make a loop that lags the computer
    then loop until a key is pressed.
    Hope this helps!

    ------------------
    DiGiTaIErRoR

  5. #5
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    I was thinking.... You could also make a MsgBox that suspends the system!
    Hehe you might like this
    using
    vbSystemModal: 4096
    Code:
    MsgBox "WooHaHaHa! Try to activate something else!!!", 4096,"I used a vbSystemModal on you!! =P"
    or:
    Code:
    MsgBox "WooHaHaHa! Try to activate something else!!!", vbSystemModal,"I used a vbSystemModal on you!! =P"
    Either way, hopefully this helps!!!


    ------------------
    DiGiTaIErRoR

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