What does “Method '~' of object '~' failed” at runtime mean?

后端 未结 8 1786
耶瑟儿~
耶瑟儿~ 2020-12-01 13:41

I\'m trying to run a legacy VB6 application on my desktop (it doesn\'t have a user interface, being a command-line app), and when I do, I get a message box saying

         


        
8条回答
  •  再見小時候
    2020-12-01 14:38

    In the VB6 IDE go to Tools->Options->Editor and clear Drag-and-Drop Text Editing feature

    Thanks Matthew, you pointed me in the right direction, though I don't fully understand your issues

    I have an old VB6 project to rework, now able to edit and recompile OK on Windows 10, after the usual trauma of reregistering all the .ocx files. I run the VB6 through a shortcut with Properties->Advanced->Run As Administrator

    This error was persistent, popping up every time I started the VB6 IDE

    After reading Matthews post, I cleared the Drag-and-Drop Text Editing feature

    Shut down, restart VB6 and the error had gone

    Re-enabled Drag-and-Drop and still no error

    (Still living with the Automation Element Not Found Error)

提交回复
热议问题