|
-
Jan 29th, 2010, 07:20 PM
#1
Thread Starter
Member
Focusing
Recently ive started experimenting with Visual Basic 2008, and just out of curiosity am trying to password protect my flash drives. (at the school i go to, it takes a couple seconds for things to disappear) so, ive got it to the point where i can have multiple "accounts" with their own passwords, ive got a lost password button, and a bunch of other stuff. But, anybody can just click out of it and go into the folder themselves, so ive been looking for a way to lock the focus on my password box. Ive looked for hours and have found a lot of things that keep the focus on like a second form, so you cant go back to the first one, but i was still able to launch applications and things because the desktop was still active. i still havent found one that keeps the focus locked on the first form and nothing else. can anybody help me?
Ive got a feeling that ive seen this like 50 times before, but didnt realize it was what i wanted.
-
Jan 29th, 2010, 07:56 PM
#2
Frenzied Member
Re: Focusing
You won't be able to keep a user from working outside your program.
That's what mutitasking is all about.
In fact, you shouldn't even try.
-
Jan 29th, 2010, 09:01 PM
#3
Thread Starter
Member
Re: Focusing
like those security pages or the shutdown dialouge in windows...
ive seen it done before... i think.
like i know that theres something that tells the application to be on top and selected, and i know that you can make it check and make sure it is like every second, i just dont know how to make that work. and what do you mean i shouldnt even try?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|