SendKeys() permission denied error in Visual Basic

后端 未结 9 1550
逝去的感伤
逝去的感伤 2021-01-11 11:14

I am trying to use the SendKeys() command to another window with my VB6 app.

What I wanted is to click a button, and then have 10 seconds to go to the o

相关标签:
9条回答
  • 2021-01-11 11:59

    Take a look at what Karl Peterson worked up as a fix for this under Vista:

    SendInput

    0 讨论(0)
  • 2021-01-11 12:00

    Delete "msvbvm60.dll" File From The Application

    Follow The Following Step

    1. Right Click On The Application .Exe File And Click On Property
    2. Click On Compatibility Tab
    3. Click On Run This Program in Compatibility Mode And Chose Windows Xp SP2 From It.
    4. Click On Run This Program As Administrator
    5. Click On Apply Than Ok.
    6. Delete The "msvbvm60.dll" From The Application Folder.

    All Done, Now Your Application Start Running Without Any Error Like Access Denied

    0 讨论(0)
  • 2021-01-11 12:03

    On Windows 7:

    • Open the Control Panel
    • Change user account control setting
    • Change to NEVER NOTIFY
    • Restart the computer
    0 讨论(0)
提交回复
热议问题