Results 1 to 3 of 3

Thread: Focusing

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    34

    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.

  2. #2
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,051

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2010
    Posts
    34

    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
  •  



Click Here to Expand Forum to Full Width