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

前端 未结 8 1429
深忆病人
深忆病人 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:52

    I just had the same experience when starting VB6 on my Windows 7 Ultimate desktop PC via a shortcut to a VB6 project (which, of course, starts VB6.) The notification box was titled "Visual Component Manager" and the message was "Method '~' of object '~' failed". It occurred when first starting the VB6 IDE, before the project was visible in the IDE. I have been using this process with this same project for several years with no issues, but today that message box popped up and had to be acknowledged. The one thing that I did differently today, and I believe this caused my problem, was to start an Excel 2007 workbook first and then start the VB6 project about three seconds later. Both were loading at the same time and they were probably battling each other for something they both needed. Starting my VB6 project by itself never results in this. Looking at all these responses, the one common thread seems to be that VB6 is unable to access some resources when they are needed. None of the responses suggest it is a serious problem; in fact, it appears to be simply a minor 'hiccup' until such time as the resources are freed.

提交回复
热议问题