PDA

Click to See Complete Forum and Search --> : forms question


cjwares
Jan 22nd, 2000, 04:14 PM
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 (http://www.geocities.com/cjwares)
AIM: CJWARES, SlimmShadee2000, or BIOSzapper
ICQ: 58493454
I program: Basic, Visual Basic, HTML, and TI-Calculators
My System Specs: Click here (http://www.geocities.com/SiliconValley/Office/4476/myspecs.htm)

itay222
Jan 22nd, 2000, 05:16 PM
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.

cjwares
Jan 22nd, 2000, 05:48 PM
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 (http://www.geocities.com/cjwares)
AIM: CJWARES, SlimmShadee2000, or BIOSzapper
ICQ: 58493454
I program: Basic, Visual Basic, HTML, and TI-Calculators
My System Specs: Click here (http://www.geocities.com/SiliconValley/Office/4476/myspecs.htm)

DiGiTaIErRoR
Jan 22nd, 2000, 06:02 PM
You could make a loop that lags the computer
then loop until a key is pressed.
Hope this helps!

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

DiGiTaIErRoR
Jan 22nd, 2000, 06:07 PM
I was thinking.... You could also make a MsgBox that suspends the system!
Hehe you might like this :)
using
vbSystemModal: 4096

MsgBox "WooHaHaHa! Try to activate something else!!!", 4096,"I used a vbSystemModal on you!! =P"

or:

MsgBox "WooHaHaHa! Try to activate something else!!!", vbSystemModal,"I used a vbSystemModal on you!! =P"

Either way, hopefully this helps!!! :)


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