Questions tagged [moniker]

31 questions
93
votes
13 answers

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…
Chris Craft
  • 5,285
  • 6
  • 46
  • 63
51
votes
1 answer

COM+ object activation in a different partition

I had created a COM+ domain partition then mapped it to a Windows 2008 server machine and imported a COM+ application into it. I tried using the following C# code to activate an object from that specific partition on the server remotely: //partition…
Khaled Saleh
  • 612
  • 4
  • 8
16
votes
3 answers

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…
Pierre Arnaud
  • 10,212
  • 11
  • 77
  • 108
15
votes
2 answers

Failure to create elevation COM object on Windows Seven

I am developing a COM surrogate object in C, it will be used by my applications to call the UAC elevation dialog for certain actions that require administrative rights. The plan is to make this it export a function that takes a pointer to a function…
ralien
  • 1,448
  • 11
  • 24
13
votes
3 answers

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:
Brett Veenstra
  • 47,674
  • 18
  • 70
  • 86
12
votes
2 answers

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…
Camilo Martin
  • 37,236
  • 20
  • 111
  • 154
11
votes
2 answers

COM+ activation on a remote server with partitions in C#

I want to access partitioned COM+ applications on a remote server. I have tried this: using COMAdmin using System.Runtime.InteropServices; _serverName = myRemoteServer; _partionName = myPartionName; _message = myMessage; ICOMAdminCatalog2 catalog…
Hamrin
  • 121
  • 3
9
votes
1 answer

How does task manager elevate without UAC Prompt?

This has been on my mind for sometime. I can open task manager by pressing Ctrl + Shift + Esc and on the second tab (Processes), I can easily press Alt + S -- Show processes from all users to elevate my task manager without any prompts whatsoever.…
Chibueze Opata
  • 9,856
  • 7
  • 42
  • 65
8
votes
1 answer

How to communicate between two COM objects using Running Object Table (ROT)?

I have two COM objects written in C++ and ATL. There are in one library and I know their IIDs and CLIDs. I can't find an example of doing this simple communication between two simple COM objects. How to create IMoniker and how to add it to ROT? And…
Mariusz Pawelski
  • 25,983
  • 11
  • 67
  • 80
8
votes
2 answers

Get Process ID of COM Server

I'm doing some automation via a combination of windows message sending directly to HWNDs and calls to a COM server exposed by the automated application. If there is more than one instance running, I need to be able to determine the process ID of the…
Mike Marynowski
  • 3,156
  • 22
  • 32
2
votes
1 answer

Calling WCF service from Excel using moniker string and getting error for maxReceivedMessageSize of 65356 has been exceeded

I am successfully able to call WCF service using mexTcpBinding and moniker string Below is vb script for building moniker string Dim addrToWCFService As String addrToWCFService =…
2
votes
1 answer

COM Elevation From Network Service Assembly

I am writing a .NET Plug-in assembly which loads into a pre-existing service which runs with "Network Service" credentials. The Plug-in needs to carry out some elevated operations for which i need to launch an elevated managed COM server. I have…
Dev28
  • 497
  • 5
  • 16
1
vote
1 answer

How can I increase the maxReceivedMessageSize when calling a WCF from VB6?

At the moment I have: 1 ) a WCF setup to return a block of xml (specifically it is the contents of a calendar from Exchange 2003). 2 ) a vb6 form with a command on it accessing the WCF via an object built on the service moniker including the content…
1
vote
1 answer

Getting display name of a DirectShow filter without a category

I want to get the display name of VMR-7 filter (CLSID_VideoMixingRenderer, {B87BEB7B-8D29-423f-AE4D-6582C10175AC}). Normally, I would use CoCreateInstance (CLSID_SystemDeviceEnum) + CreateClassEnumerator (CLSID_ActiveMovieCategories), then use…
user13867014
1
vote
3 answers

Error with win32com.client.GetObject when connecting to SAP GUI

Dears, first of all this is the first time I ask a question on Stackoverflow so forgive me if I'm not following the right way to do this. I kindly ask for your help as I'm facing an issue with win32com. I'm trying to connect to SAP GUI in order to…
Roberto P
  • 11
  • 1
  • 3
1
2 3