Hi ...

I have a ActiveX Control and I'm using it in a MMC Snap-in. This is my first time. I have some sample code that shows how to access the properties from the snap-in. I have shown this code below.

Code:
    switch (event)
    {

    case MMCN_INITOCX:
        {
            // Use ATLs IDispatch helper class to access ActiveX Properties
            CComDispatchDriver spStatus = LPUNKNOWN(param);

            // Set the TestValue value in ActiveX Control
            spStatus.PutPropertyByName(L"TestValue", &CComVariant(7));
        }
        break;
    }

So ... I have a method in the ActiveX Control and would like to execute it ... For example the About box or the PropertySheet or in my case a simple method called Beep() that will make a sound.

Thanks,
Chris