Results 1 to 6 of 6

Thread: LOCKED or UNLOCKED.

  1. #1

    Thread Starter
    Lively Member smilbuta's Avatar
    Join Date
    Apr 2005
    Location
    Orlando
    Posts
    104

    LOCKED or UNLOCKED.

    Is there a simple solution to detect the state of windows concerning it being locked or unlocked without using keyboard hooks and other more complicated methods i dont understand yet? (read VB newb)

  2. #2
    Hyperactive Member StreaksAthlete's Avatar
    Join Date
    Sep 2004
    Posts
    348

    Re: LOCKED or UNLOCKED.

    Here's a solution I found on google:
    Attached Files Attached Files
    Unity Programs™ - Downloads To Make Your Computer Life Easier - UnityPrograms.com, check it out
    My small company, I need feedback.


    If someone's post was useful, don't forget to Rate It by clicking the Rate This Post link under the avatar.
    If this post has been resolved. Please mark it as Resolved by going through the Thread Tools above and clicking on the Mark Thread Resolved option.
    We ride together, We die together, .NET for life. - Working With Visual Studio.NET 2005

    Application Deployment, General Developer Forum, Visual Basic .NET

  3. #3

    Thread Starter
    Lively Member smilbuta's Avatar
    Join Date
    Apr 2005
    Location
    Orlando
    Posts
    104

    Re: LOCKED or UNLOCKED.

    I have viewd this one already, and the writer included a bunch of key stroke hooks to capture other events thus confusing what im looking at.

    IS there not a method to just look at the state of a pc?? Locked or unlocked?

  4. #4
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: LOCKED or UNLOCKED.

    Quote Originally Posted by smilbuta
    Is there a simple solution to detect the state of windows concerning it being locked or unlocked without using keyboard hooks and other more complicated methods i dont understand yet? (read VB newb)
    HI,

    Here's an example how to use locked or unlocked with a Button;

    http://msdn2.microsoft.com/en-us/lib...on.locked.aspx

    I know it's not exactly the same but it can give you a clou how to do it for a PC.

    Wkr,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  5. #5
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502

    Re: LOCKED or UNLOCKED.

    ... windows being locked ...
    With "windows" are you refering to forms?

    Or are you refering to the operating system "Microsoft Windows" being locked so that the user needs to fill in a password to continue working on it?
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  6. #6

    Thread Starter
    Lively Member smilbuta's Avatar
    Join Date
    Apr 2005
    Location
    Orlando
    Posts
    104

    Re: LOCKED or UNLOCKED.

    NO, I was reffering to the Operating system itself.

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