SendKeys throws "Hook cannot be created" security exception in Vista Beta 2

Discussion in 'Windows Vista Security' started by Dan Dautrich, Sep 2, 2006.

  1. Dan Dautrich

    Dan Dautrich Guest

    I'm using VB 2005 and .NET 2.0 under Vista build 5472 and get a "Hook cannot
    be created." security exception whenever I try to call the Send or SendWait
    methods of SendKeys, but running the exact same code under Windows XP SP2
    works without any problems. Does anyone have a workaround or solution to
    this problem?

    Dan Dautrich, Sep 2, 2006
    1. Advertisements

  2. Dan Dautrich


    I had the same problem recently, although yours has probably been solve
    too, but I turned off the UAC service in user accounts, restarted, an
    all my sendkey apps work fin
    KILLSWITCH, Mar 28, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.