Closed christophocles closed 9 years ago
I assume you're running RD v1.2?
Yes, version 1.2.
I suppose there could be conflict with other VBA editor addins (MZ-Tools). I will try uninstalling all other addins except RD, and see if the exception still occurs.
Are you using anything other than MZ Tools? I've personally tested RD on Office 2007 side by side with MZT and never come across this. I'm definitely going to need better repro steps for this one.
I have MZ-Tools 3.0 as well as MZ-Tools 8.0 Beta 1.
Okay. I've not tested along side the beta version. Thanks. I'll try to repro, but if you figure out exactly how to, please share.
This bug may also be related to another issue that is happening sometimes. After opening the VBA editor, the RubberDuck Menubar is sometimes missing several items. No exception occurs. See below:
@retailcoder I'm not feeling good about this.
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This doesn't look like it's coming from our code. If we can figure out what's causing it we might be able to catch it in the NativeWindowMethods
class, but so far I can't replicate this in 2007 w/out MZT or 2010 w/ MZT.
Let's first standardize how menu items are created. The RubberduckMenu
class needs a Code Review post.
I was actually just looking at that code. We have some bad abstractions going on. Our "menus" are often really a single button and a whole "app" connected to it. DockablePresenter implementations feel more like the views they control than they should. Life might be easier if we find a way to keep a handle on the actual ToolWindows.
But I've digressed. That's a separate issue.
No repro on that one in 2 releases. Closing for now.
Steps to repeat:
Notes: -Exception does not always occur. Have not yet determined exactly what triggers it. -Error has not occurred with Excel 2007 32-bit (also installed on this computer)