How would I call WebView2 and other modern winmd features in VBA - vba

I would like to embed a modern WebView2 component (Edge Chromium Browser Control) inside an old-style VBA UserForm.
I surmise that I would need the following installed on the system:
Edge Chromium Broswer
Webview2 SDK
While I have the Edge Chromium Browser installed I am unsure how to install the Webview2 SDK outside of the context of a specific Visual Studio Project. To use it in a VBA solution it needs to reference some sort of global system-wide file?
Then, apparently the type library which contains the functionality we need to embed the Edge browser is Windows.Web.winmd. I presume I would need to "reference" that in some way but I am not sure how...

The closest thing I have found to answering this question is the following set of dlls:
http://vbrichclient.com/#/en/Downloads.htm

Related

IE support for vega

Vega seems to intend to compile away both ... and =>. This is not supported in IE11 browser. Anything can be fixed to support IE11 browser?
We are using in angular 7 projects but it fails on module load for IE.
As described in Vega's Supporting Internet Explorer page, Vega does not directly support Internet Explorer. However, you can use a transpiler like Babel as part of your application build process to transform the resulting code and target a wider range of browsers / platforms.

Unable to debug ArcGIS 10.2 add-in on ArcMap with “No GUI components found in this Add-In”

I am working on an ArcGIS add-in (a very simple toolbar with a few buttons) with VB.Net and ArcObjects SDK in Visual Studio 2010. The solution was built successfully and the debug settings were configured.
When I hit Debug, ArcMap application was opened. I couldn't find the toolbar docked anywhere on the ArcMap toolbar. I went to "Customize" -> "Add-in Manager" and the add-in being debugged was not there. Then I tried "Add From File...", located the "esriaddin" file and clicked "Install Add-in". It populated a message box saying "No GUI components found in this Add-In."
I made some Google searches but haven't got any luck to reach a solution yet.
What was I missing? Has anyone come across the same issue and any direction?
Thanks in advance!
Try clicking build first, then open the arcmap separately and check the add-in manager inside of arcmap to see if it got added to the application. If so, you should be able to find it and turn the toolbar on.
I'm not sure about .Net, but I debugged this issue for the Java SDK. You have to make sure you are using the correct versions for compiling. In java, it was an old archive version of jdk1.6 32 bit.
Then I was referencing something wrong inside the xml document. I had changed the name of my JAR file (taken from project name by the ArcObjects SDK). In the xml document it was still pointing towards the old name.
This may not help you, but if anyone else searches this error and is using tje Java SDK, hopefully it will help.
I struggled with this same issue with a 10.0 add in. We had a 10.1 update that worked with 10.1 but trying to install it to 10.2.2 gave me that exact error. So much for upward compatible! I then tried to build 10.2.2 code and kept having this error. Others mentioned needing to build to x86 so I did that although the 10.1 was on Win7-64 and ran with AnyCPU....
I believe the final key for me was in the config file. I had set version to 10.2.2 As soon as I changed that to 10.2, the darn add-in installed just fine. Nice waste of a day for an extra '.2'

Some doubts about WordPress theme\plugin development IDE, how to obtain the IDE code assistance?

I am pretty new in WordPress theme\plugin development (I came from Java and C#) and I have the following doubt about the IDE and how to correctly handle the WordPress development process.
My main doubt is this one: when I develop in Java I use Eclipse as IDE and using Eclipse I can navigate through classes and methods selecting it with mouse pointer and clicking CTRL on the keyboard (I select a method, I press CTRL and it open me this method implementation).
Also using Eclipse\Visual Studio if I put the mouse pointer on a method call in my code I can obtain some informations about it, as the returned type or the input parameters list.
Now I am using Aptana Studio 3 to develop a WordPress theme. I imported the entire WP installation directory as a project and I am working on my custom theme but I have not all the previous feature.
What can I do to have these feature when I develop a WordPress theme or a plugin?
Tnx
You might try Jetbrains' PHPStorm. Version 8 which is only available via their early access program has Wordpress support. I have not used Aptana very much but PHPStorm has been very helpful. It's got a hefty price tag but there is a 30 day trial.
Helpful link
PHPStorm Wordpress documentation

Detect if own Opera extension installed and disabled using JavaScript

I can detect if my Opera extension installed by setting the new window object property (window.isExtensionInstalled for example) in injected script and checking it in web-page javaScript.
But this is not solution in case the extension is disabled.
How can I detect disabled extension?
Are there features like resources web-access in same manner as for Chrome extensions?
May be some other useful features?
Thanks in advance.
No, there is no such feature.
By definition, each extension lives in its own sandbox and is not aware of other extension.
The only chance is to look out of the window (object) and search for footprints (modifications of the window or child objects) of other extensions.
If these are forced to stay at home (deactivated), the can't leave footprints..
Sry for being so figurative ;)

Win32 and Acrobat

I have a simple Win32 app writen in C, in which I would like to open PDFs. I know I can compile and link to Poppler library, but is there a way to use Acrobat Reader? Kind of like what browsers do, if you have Reader installed, they are automatically able to display PDF in a window though some plugin interface. The problem is, I never used a plugin, not wrote such an interface. How to? Is it also possible to install Reader afterward and somehow make the app aware of its presence?
I would also like to control, say, the zoom. And what the PDF could be in memory, as well.
Edit:
I just found this [1]:
"If you have installed Adobe Reader, you can add a COM reference to the PDf viewer ActiveX control in VisualStudio and use it inside a WindowsFormsHost control."
but I don't understand what does it says: how do I create "COM reference" and use "WindowsFormsHost" in plain Win32 C?
[1] PDF Libraries to Display a PDF document in WPF
On windows if you type mypdf.pdf and hit return in a Command Prompt it opens the pdf in the associated application (in most cases Adobe Reader). So in c# I start a new process with the pdf as the file to run.
You should be able to do something similar in c without bothering with plugins.
In addition to what Nifle said, if instead of running it as a separate application you want to run Acrobat Reader as a plugin within your application's window (as for example IE runs it within IE's window), Adobe Acrobat Reader download page says,
An ActiveX control for Internet Explorer and a plug-in for Netscape Navigator are included and automatically installed in the browser of your choice.
The plug-in technology is probably the technology called ActiveX.