none
SendKeys -- Run-time error ‘70’ Permission denied (VB6 in Windows 7)

답변

모든 응답

  • Like on more places is written in this forum, this is not a VB6 forum,

    There is a Tab, there is a Link for VB6

    http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b


    Success
    Cor
    2010년 7월 24일 토요일 오후 3:41
  • Hello Jandrick,

    Thanks for your post.

    This forum is for VB.NET questions only. Please repost on appropriate forum as Cor suggested for better and quicker support. Thanks for understanding.

    Best regards,

    Liliane


    Please mark the replies as answers if they help and unmark them if they provide no help. Thanks
    2010년 7월 26일 월요일 오전 1:59
  • 'You have to have ms scripting runtime referenced

    -Dim WshShell As Object

    Set WshShell = CreateObject("WScript.Shell")

    WshShell.SendKeys "{Tab}"

     

    Try This. Rajkumar - GTN - India

    • 답변으로 제안됨 Philkos 2012년 1월 11일 수요일 오전 11:00
    2011년 2월 15일 화요일 오전 11:04
  • 'You have to have ms scripting runtime referenced

    -Dim WshShell As Object

    Set WshShell = CreateObject("WScript.Shell")

    WshShell.SendKeys "{Tab}"

    Try This. Rajkumar - GTN - India


    I try it .... failed....  Any other Method? Can you please mail to me? <removed> Tks!


    2011년 11월 14일 월요일 오후 3:54
  • I had the same problem and found the solution by deleting the file msvbvm60.dll which is in the application folder. This is because the file must exist only system32.
    2012년 1월 26일 목요일 오후 3:58
  • Dim WshShell As Object

    Set WshShell = CreateObject("WScript.Shell")

    WshShell.SendKeys "{Tab}"

    ===================================================

    SendKeys "{Tab}" problem Solved in Windows8.

    What i did .........keep UAC settings  to (no notification) and use above code.

    problem solved............... thanks to

    rakha india1.........Thanks  a lot.

    Can You give me a trick how vb6 project can be converted to vb.net............?





    • 편집됨 MASTERSAM2012 2013년 1월 9일 수요일 오후 12:03
    2013년 1월 9일 수요일 오전 11:56
  • Thank you so much, Rajkumar!  I have a couple of Access97 apps that need to run on Windows 8 and SendKeys gave runtime error 70 - permission denied - even with UAC turned off.  These 3 little lines of code resolved the issue.  You made my day!
    2013년 6월 19일 수요일 오전 11:54
  • MasterSam,

    The best way to convert your vb6 project to vb .net is to load visual studio 2008 and try to open the vb6 project with it, then go thru the steps to convert, after that you need to fix about 20% of the project in order to work.


    Oscar

    2013년 6월 21일 금요일 오후 4:20
  • Thanks Rjkumar

    Works Perfect...!!

    2014년 3월 28일 금요일 오후 3:52