COMMENTS
Hector
I have a question for you that might help me out, how did you get around the problem of the About.dll where after updating the version and description strings, recompiling and upgrading the mmc dll via a MSI the older version and description strings are still displayed in the MMC about box.?
Regards,
Marco
Marco,
I haven't run into the problem myself, but another developer gave me a hint. I'm copying and pasting Larry's words below:
There is a bug in the mmc that causes problems when you update your resource DLL. The mmc client caches the string information in a Registry Key:
HKEY_USERS\S-1-5-21-1123561945-789336058-854245398-1004\Software\Microsoft\Windows\ShellNoRoam\MUICache And it uses the strings in there from that point on even if you change them in your resource DLL. The only way around this issue is to either delete the relevant values under this key, or change the numeric ids of the resources whenever you update them.
Hector
Thanks for the feedback. I have one other question. In your mmc app it looks like you update the mmc window title with the trail countdown. I have tried everything to do it in my mmc app but cannot seem to get it.
Marco,
The key here is to set the DisplayName property on the root (first) ScopeNode that you create. MMC uses that property for the MMC's window title.
Hector
Yeah I thought that would be the case however this is only setting the name of my root ScopeNode and it also displays the same text in the Description Bar, when turned on. The MMC's window title is also the text that I entered in the Options window when setting up my .msc file.
After comparing my .msc with yours I found that mine had a node in the VisualAttributes node which after removing it, works the way I want. For some reason this is added when you do a save as when setting up the .msc file from the mmc console.
Thanks for your help.
Regards,
Marco
Marco,
Thanks for the research you did. I didn't know that VisualAttributes did that. I'm moving away from MMC, until Microsoft has an "official" fix for working with .NET 4.0.