Questions tagged [moniker]

31 questions
1
vote
1 answer

C# : Get COM object from the Running Object Table

I'm working a project that uses API from a third party COM Server. The COM Server is a local server (out of process exe) on which I have no control. I'm trying to access COM objects from the runnin object table to choose between the several…
nrdev
  • 49
  • 1
  • 4
1
vote
0 answers

What is the WCF service moniker for this configuration?

I have the following app configuration file using my ip as a baseAddress:
user3685285
  • 6,066
  • 13
  • 54
  • 95
1
vote
1 answer

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…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
0
votes
1 answer

Load HTML from IPersistMoniker to add base URL to relative links

I am attempting to load HTML from URL using IPersistMoniker to add relative URLs base path, for example to load from mypath/images/ (or any other path). From what I found the process is (based on this example): implement…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
0
votes
0 answers

Multi-targeting project raises The target "_GetRestoreSettingsPerFramework" does not exist

I'm trying to update one of my existing C# project to the new Microsoft.NET.Sdk project structure. The solution consists of net45, netstandard1.0 and uap10.0 projects. When I run "dotnet build ValueConverters.sln" from the NuGet Package Manager…
0
votes
1 answer

Python WMI moniker problem

I can not query log "Security" using WMI. Other logs works fine. Here is what i use: import wmi c = wmi.GetObject(r"winmgmts:{impersonationLevel=delegate,(Security)}!\\.\root\cimv2") for i in c.ExecQuery("SELECT * FROM Win32_NTLogEvent WHERE Logfile…
Lixas
  • 6,938
  • 2
  • 25
  • 42
0
votes
1 answer

Getting NTLM security token from IE

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…
Zaky
  • 369
  • 6
  • 21
0
votes
0 answers

C# Out-of-proc COM server w/ custom access

I need to implement an out-ofproc server in C#. The basic server part is done and the server is accessible by progid like this: "someNamespace.someClassname". But now i want something like this: "progid:Application(set=somevalue)". Is there any way…
Tony
  • 1
  • 1
0
votes
2 answers

"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…
tbischel
  • 6,337
  • 11
  • 51
  • 73
0
votes
2 answers

JavaScript - Protocol handlers registered but, reading fails from windows registry

I did following: 1) In Windows 7: Under registry: HKEY_CLASSES_ROOT\PROTOCOLS\Handler I have my custom protocol calls: stackoverflow (copied similar way in registry like other protocols mailto or ftp etc) Followed 2) Open in IE the sample:…
user285594
0
votes
2 answers

Calling WCF service from excel gives error on received message size

I am calling my WCF service from excel VBA code using moniker string. However, as my service returns large data as response, excel gives error message "Maximum message size quota for incoming messages (65534) has been exceeded. To increase the quota…
Anil Soman
  • 2,443
  • 7
  • 40
  • 64
0
votes
0 answers

COM Elevation Moniker

Greetings! Wondered about creating COM ActiveX module to the program, which will be called if necessary with elevated privileges. To do all this using Delphi XE5 and Windows 8.1 Pro x64. Made ActiveX Library, added COM Object, added a test function.…
0
votes
1 answer

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…
Phill Duffy
  • 2,805
  • 3
  • 33
  • 45
0
votes
2 answers

URL Moniker Examples for C# (IMoniker)

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…
Ludvig A. Norin
  • 5,115
  • 7
  • 30
  • 34
0
votes
1 answer

How to read WPD MTP data stream asynchronously?

My sample application gets a COM IStream instance from a IPortableDeviceResources::GetStream() function. I want to read the device object contents asynchronously using this IStream object. How can I do that using an asynchronous moniker?