Visual Basic Crashes when I open it
Posted on 2006-11-26
I have two user accounts on my PC (running Windows XP SP 2) at home - my home account and my work account
A few weeks ago I was on my home account and did the following actions:
> I opened VB.
> I created a new EXE application.
> I renamed the default project and form.
> I added a data report to the project.
> For some reason the menu for adding items to a project remained open and nothing I could do would close it.
> I closed Visual Basic.
When I went back in again this time on opening it crashed. Ever since then I have been unable to open VB on my home account. Fortunately the work account is fine, and that is when I will usually open it. However it is a bit of a pain to have this problem - can anyone suggest how to fix it?
The error happens just after the splash screen opens. It just says an unexpected error has occurred, do I want to tell Microsoft? When I click on what the error report will contain it shows this:
AppName: vb6.exe AppVer: 184.108.40.206 ModName: vb6.exe
ModVer: 220.127.116.11 Offset: 00060b32
I posted a question to the Microsoft VB newsgroup and got the following reply:
These sorts of problems usually happen because either the toolbar/menu settings became corrupted, or a misbehaving Add-in. In your case, it looks like the toolbar/menu, so go to View-->Toolbars-->Customize, then click the Reset button, and restart VB6. If it was caused by an Add-in, then disable all of them, then re-enable them one by one until the problem appears.
However I don't understand how to do this if Visual Basic won't open.