You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They now first try to use the filename, then try to get it from the caption, but with enhanced handling when running into the VBE aPI bug and finally fall back to the BuildFileName.
/// WARNING: This property has side effects. It changes the ActiveVBProject, which causes a flicker in the VBE.
171
+
/// WARNING: This property might have has side effects. If the filename cannot be accessed, it changes the ActiveVBProject, which causes a flicker in the VBE.
173
172
/// This should only be called if it is *absolutely* necessary.
174
173
/// </summary>
175
174
publicstringProjectDisplayName
@@ -187,32 +186,116 @@ public string ProjectDisplayName
/// WARNING: This property has side effects. It changes the ActiveVBProject, which causes a flicker in the VBE.
170
+
/// WARNING: This property might have has side effects. If the filename cannot be accessed, it changes the ActiveVBProject, which causes a flicker in the VBE.
172
171
/// This should only be called if it is *absolutely* necessary.
173
172
/// </summary>
174
173
publicstringProjectDisplayName
@@ -186,32 +185,116 @@ public string ProjectDisplayName
0 commit comments