“Method '~' of object '~' failed” on starting VB6 IDE

前端 未结 8 1471
深忆病人
深忆病人 2021-01-11 11:32

I have noticed that about every third time or so I start up the VB6 IDE, a message box appears with the following error message:-

Method \'~\' of object \'~\         


        
8条回答
  •  时光取名叫无心
    2021-01-11 11:43

    I found the ultimate solution!

    To avoid the "Method '~' of object '~'" message and avoid any "Windows Installer" message from running at startup of the VB6 IDE:

    1. via the VB6.exe properties (after right-clicking on the file in Windows Explorer), ensure that VB6.exe has compatibility set to "Run in Windows 8" mode.
    2. Ensure that the VB6.exe shortcut is set to NOT run as an Administrator.

    With these settings it is OK to load any of the Add-Ins (including Visual Component Manager 6!)

    It took me ages to work this out, but now VB6 loads with lightning speed and no annoying error messages.

提交回复
热议问题