We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adae41a commit 7513796Copy full SHA for 7513796
Rubberduck.VBEEditor/VBERuntime/VBEDllVersion.cs
@@ -19,7 +19,7 @@ public static DllVersion GetCurrentVersion(IVBE vbe)
19
switch (int.Parse(vbe.Version.Split('.')[0]))
20
{
21
case 6:
22
- return vbe.GetType().Namespace?.EndsWith("VB6") ?? false ? DllVersion.Vb98 : DllVersion.Vbe6;
+ return vbe.Kind == VBEKind.Standalone ? DllVersion.Vb98 : DllVersion.Vbe6;
23
case 7:
24
return DllVersion.Vbe7;
25
default:
0 commit comments