According to the wiki page about EdgeHTML they are providing a COM API to us. I want to use it in my c++ application like the old IE web browser control.
I've been searching everywhere for tlb, clsid, documentation etc but found nothing. Does anyone know where I can find more information about the COM API?
Related
I am trying to handle an event for when a PDF has downloaded and been fully displayed in Internet Explorer.
Which UIAutomation event will handle this?
If you are referring to the UIAutomation object in the .NET Framework, it supports managed code. Internet Explorer is written in C++ as unmanaged code. Some folks have managed to write extensions using managed code, in spite of clear advice to the contrary, however, I've not heard of anyone successfully controlling IE using managed code.
Earlier versions of IE could be automated using COM interfaces or VBA objects, however, these features have been increasing deprecated over the years.
In addition, few of those interfaces supported extensions. (PDF is not a natively supported file type for Internet Explorer, so automation would depend on the surfaces exposed by the application registered to handle PDF mime types for the individual user.)
Since Edge is now the official browser, it's unlikely that IE will be updated to support managed code extensions. Note that Edge does not currently support extensions and little information is available describing when, or if, that will change. (There have been vague promises in the past, but little additional information.)
If you're trying to accomplish a specific effect, consider posting a more specific question, one showing:
The code that you're trying to use,
The effect you're trying to achieve, and
The behavior you're seeing instead.
Hope this helps...
-- Lance
I've been hearing a lot about how starting with Windows 8 there would be a new API that replaces mirror drivers. AFAIK, mirror drivers are the only way for an AT application to read text output by drawing APIs such as GDI+ (in particular non-standard controls that don't use any accessibility APIs like UIA or MSAA).
So I did some research and found this page, which confirms the rumor but doesn't give much information about what's next. I e-mailed the address it said to contact, but received no response (not even an automatic "thank you for e-mailing Microsoft" message), so I'm not sure where else to look.
So I searched on here and found this page, which said there's a "desktop duplication" API available now; but the documentation that guy provided didn't seem to say anything about accessibility, but more geared toward people developing remote desktop apps - which is really cool but probably not what I was looking for... or was it? (lol)
Thanks in advance. :)
My goal is call a Windows Service, passing a string as parameter, from a google chrome extension.
Is it possible? Any samples available?
I did the same question on Codeproject and the user kbrandwijk has solved my problem.
Here is his answer. I'm posting here to help anyone who have the same question.
The only part of the API that allows you to communicate outside of the sandbox since NPAPI is phased out, is the Native Messenging API. This approach would however, require you to install a host and register it in Chrome.
This host can be a small C# program that actually talks to the Windows Service. Check the example here: http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/nativeMessaging/
Where is the documentation on creating a custom Windows Credential Provider located? Everything I've found so far points to the same article on how to make a custom credential provider (MSDN Magazine: "Create Custom Login Experiences With Credential Providers For Windows Vista"), but neither that article nor anything else I can find provides documentation on how things actually work. At best there are some code samples, but those don't explain the full mechanics of credential providers or usefully show how to roll your own.
There is now a proper documentation here. It contains everything you should know when developing custom credential providers.
In an article on Windows Vista Smart Card Infrastructure, there is a link to Credential Provider Technical Reference (link to Credential Provider Technical Reference on archive.msdn.microsoft.com). The list contains a document which describes the Windows Vista Credential Provider Framework. I think you will find this technical reference quite helpful in understanding how Credential Provider in Windows works.
Hope you find what you are looking for!
In the Windows SDK, there is a Credential Provider code example in the Samples\security folder. There is also documentation (in MHTML format) for the example, contained in the SDK files. In the latest Windows SDK, the Credential Provider example has been updated to be suitable for Windows 7, says the document.
Strangely, the documentation doesn't seem to be available online anywhere. It's just there in the SDK docs.
Please note that Microsoft Windows SDK is something that you need to separately install, even if you already have Visual Studio installed.
Welcome to the beautiful world of Windows 10.
Microsoft have actually updated the documentation a tiny little bit for Windows 10, there is this page, and at the bottom, it links to the technical reference for credentail providers with updates for Windows 10. Which has (at the time of writing this) a big disclaimer at the top that it is only pre-release information and accuracy is not guaranteed. For example, at the bottom of the reference is still the e-mail address credprov#microsoft.com which has apparently been invalid for a long time already.
The most recent source code example is the open-source C# wrapper pgina which may help illustrate how to use this CredentialProvider API.
This MSMVP How-To looks pretty helpful up to Windows 7 and points you to some documentation.
And this MSDN V2 Credential Provider sample includes changes for Windows 8/8.1. Seems like a good place to start.
I have created a .NET Windows Forms component that runs within IE via an <object /> tag and allows me to print to a thermal label printer directly from a web page using the Windows API's to bypass the driver and send raw commands.
This all works, but my customer is now asking for similar functionality from Firefox!
What I need to do is to be able to pass the name of the printer that I want to use (this is configured within the web application) and then pass a string that is to be sent directly to the printer without being intercepted by the driver translation. I can acheive all of this by gaining access to the following Win32 API's (as I currently do from my .NET component)...
OpenPrinter
StartDocPrinter
StartPagePrinter
WritePrinter
EndPagePrinter
EndDocPrinter
ClosePrinter
I have looked at the options, and as far as I can see the only path available is XPCOM. Can anybody advise me as to whether I have reached the right conclusion before I start down this path as it appears that there is a great deal of work involved in creating an XPCOM extension and I would hate to spend a lot of time on it only to find out that either ...
There is an easier way
XPCOM will not do what I want!
Thanks in advance.
BTW: I am not looking to enable the existing .NET component to work in Firefox, I believe that I will have to start from scratch and create a Firefox extension that can be used instead.