mmc

Snapin not appearing in the 'Add or Remove Snap-ins' dialog?

Im having issues trying to get a custom snapin to display in the Add/Remove Snap-ins dialog (MMC). Is this done though a registry key? ...

windows service : configuration UI implementation options

I have a simple windows service, that might need to be configured on-the-fly (a COM port to listen to). I have done the UI as a console app that connects to the windows service through WCF, it works and fun. Question: Is it a good idea to develop a MMC Snap-in to control the windows service? Would it be cool? Note: I haven't done any...

System.EnterpriseServices.RegistrationHelper Doesn't Release File

We developed a small MMC snap-in that installs various components of the application. In particular, it registers .NET assemblies with COM+ using System.EnterpriseServices.RegistrationHelper. The logic is simple: first, uninstall existing assembly, then copy new file over, then install the new assembly. The code looks like this: if (Fil...

COM Exception Receiving WMI Event in MMC Snapin

I am attempting to create an MMC snapin that among other things, will receive and display log events that are fired from my service. I have created the watcher and it fires correctly, but when I try to add nodes to my MmcListView, I am getting a COMException which says "COM object that has been separated from its underlying RCW cannot b...

Embedding native win32 resources into .NET assembly?

Is it possible to embed a .net resource (resx) into compiled assembly as a native win32 resource? Like I need an array of native resource images writing my MMC custom snap-in. ...

MMC could not create the snap-in error when lunching internet information services on windows 2003 server

Hi, i get the following error: MMC could not create the snap-in. the snap-in might not have been installed correctly. Name: Internet Information Services (IIS) Manager when lunching internet information services on windows 2003 server i've checked previous questions and posts which got solved with the following command: re...

Create a plug-in (snap-in) for IIS Manager

Is It possible to create a UI plug-in for IIS manager or the Windows server 2008 manager program? Or is possible to create a MMC plug-in in C#? ...

mmc snap-ins extension

Looking for how to create a snap-in extension. I know how to create STANDALONE snap-ins but, also need to look into the snap-in extensions. I'd like to create them in c#. ...

custom mmc snap-ins icon

Looking into how to provide the icon for my custom mmc snap-ins. Language = c# ...

MMC custom snap-ins installation

I have written a snap-in in c#. I tried installing it using installutil and it didn't work at first. I notice that on the msdn page they said to run mmcperf to install the management.dll into the GAC. Doing this, I was able to install my snap in and run it. I have an xp machine. My question is how am I to deploy my custom snap in o...

Convert Windows Forms into an MMC SnapIn

I have a Windows Forms app, which I want to convert into an MMC snapin and display the form in one of the forms, the form has a few buttons and event handlers for button clicks etc. Should I convert the winform into a user control, will my event handlers still work in this case? Whats the best way to do this? ...

Loading/Unloading assembly in different AppDomain

Hey there I need to execute a method in an assembly loaded during runtime. Now I want to unload those loaded assemblies after the method call. I know that I need a new AppDomain so I can unload the libraries. But here, the problem arises. The assemblies going to load are plugins in my plugin framework. They have no entry point at all. ...

New AppDomain from MMC Snap-In does not get elevated privileges for UAC

I've created an MMC snap in that launches code in a new appdomain and part of the code checks for a registry key. If I check for the key in the snap in process it works, but the code in the new appdomain throws a security exception. If I load the code in a new appdomain from a console or windows app, it works fine. Here is the code: p...

Why won't the runtime resolve my assembly dependency automatically?

I have some c++ code that is a snap-in for a MMC based application. This snap in uses a .net 2.0 dll via a COM wrapper (AssemblyA). AssemblyA lives in the same directory as the app that launches the MMC session. AssemblyA uses some other .net dlls (OtherAssemblies) which, for reasons beyond my control cannot live in the same directory ...

MMC 3.0 snap in development and 'connect to another computer...' dialog

Hello, I'm in the process of developing a custom MMC 3.0 snap-in and was wondering if there is some built in SDK/API way of connecting to another computer running the same snap-in? If so, can someone provide some code samples or links to tutorials on how this is possible? If it is not possible, what do you recommend to use for commun...

WPF in an MMC snapin

Can someone provide some sample code for using WPF in a custom MMC snapin? I'm new to WPF, and I've understood the samples for writing MMC snapins, but I do not understand how to choose WPF instead of Winforms. ...

how to add my snap-in to MMC

i'm dveloping simple c# application under windows 7 as an span-in to mmc as in this link http://msdn.microsoft.com/en-us/library/ms692759(VS.85).aspx after adding the dll to GAC i used installutil.exe to install the snap-in but i couldn't find it in add/remove snap-ins please help ...

MMC Snapin development: 'MMC not responding' - Is there a timeout that can be set for debugging?

So I'm writing a snapin for MMC 3. Quite often I have the debugger attached and I'm stepping through some code. MMC has some kind of a fail safe for misbehaving snapins that automatically unloads them after a timeout. The message is 'This snap-in is not responding'. After that MMC can behave as though your snap-in has been unloaded. fai...

creating MMC snapin, need scroll bars added to content view

For low resolution monitors, the content view of our snapin doesn't fit. I'm trying to add scroll bars. Adding the AutoScroll property to the panel doesn't seem to make a difference. I tried an event handler on the Paint on the panel, to set the panel's bounds to be the same as its parent's bounds, which works sorta. When I use the m...

When putting an SD/MMC card into SPI mode, can CS go high in between bytes?

I have a microprocessor with the card's chip select (CS) line tied to a 'frame' signal automatically driven by the SPI (SSP) circuit. This causes CS to go high between each byte. The MMC/SD specs require that CS be held low in order to enter SPI mode. Does it need to be held low the entire time, or only when transmitting each byte of ...