moniker

How do you create your own moniker (URL Protocol) on Windows systems?

How do you create your own custom moniker (or URL Protocol) on Windows systems? Examples: http: mailto: service: ...

How to UAC elevate a COM component with .NET

I've found an article on how to elevate a COM object written in C++ by calling CoCreateInstanceAsAdmin. But what I have not been able to find or do, is a way to implement a component of my .NET (c#) application as a COM object and then call into that object to execute the tasks which need UAC elevation. MSDN documents this as the admin ...

How to detect browser's protocol handlers?

I have created a custom URL protocol handler. http:// mailto:// custom:// I have registered a WinForms application to respond accordingly. This all works great. But I would like to be able to gracefully handle the case where the user doesn't have the custom URL protocol handler installed, yet. In order to be able to do this I need ...

URL Moniker Examples for C# (IMoniker)

Dear lazyweb, I am trying to implement an URL Moniker for MSHTML that will be used to provide images from a storage (in the application) to the HTML Edit control. I have understood that to do this I must implement the IMoniker interface. I have not found any decent documentation or sample code anywhere for this. (All MSDN documentatio...

DSL Beta 2 - Connector Moniker - Why is it not in the diagram file?

I am creating a DSL, I want to associate two Entities with a connector but I do not want the EntityMoniker to be in the underlying XML, I need it to be in the Diagram File. I am not sure why it is not in the Diagram file automatically as that seems to be the place where all information 'about' the diagram is held. If I remove the elemen...

How to get device moniker with a known class id?

I am using a DirectShowLib which is a thin wrapper for DirectShow. I have successfully enumerated BDA devices and collected their CLSIDs. Now when user selects a device by name and I know the chosen CLSID, I need to add this device to my filter graph. I did the following: Type type = Type.GetTypeFromCLSID(classid); object device = Acti...

"interface not found" in WCF Moniker without registration for excel

I'm trying to connect excel to a WCF service, but I can't seem to get even a trivial case to work... I get an Invalid Syntax error when I try and create the proxy in excel. I've attached the visual studio debugger to excel, and get that the real error is "interface not found". I know the service works because the test client created by...

Where can I learn about the "shell:" URI?

I just realised there is a shell: URI, but every search engine seems to think shell: and shell are the same thing. The only thing I've found out is that you can type shell:startup right in explorer (XP & 7 tested) for obvious effects. This is good already because there is no %startup%, but I want to know what else is this capable of. I...

Getting NTLM security token from IE

Hi, I have an ActiveX that deploys some application on the client machine and starts it. When using NTLM on the IIS, the authentication with the web server done by IE and there is no problem to download files (I'm using URL Monikers API) but when an ActiveX starts the application (application also needs an access to the server) there is...