MicrosoftEdge / MicrosoftEdge/WebView2Samples

Need Webview2 Sample For vb6,vba,python,vbs(Webview2 For Visualbasic6.0)

Open
#96 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

Description

A control or DLL that can be referenced by a COM interface that supports multiple development languages ​​is needed.
There are now 3 more mature solutions, cef.dll, miniblink.dll, rc6+webView2Loader
If you only need to install MicrosoftEdgeWebview2Setup, you can support VB6 to add controls, how convenient? (https://go.microsoft.com/fwlink/p/?LinkId=2124703)
Just like VB6 adds excel.exe, the developers are so happy.

We have a miniblink.dll in China, which only needs one 20M. It is equivalent to chromium.dll, packaging it as simple as SQLITE3.dll.
It's just that the version is relatively old. After all, it was developed by individuals. Now small companies are partly free and partly commercialize OCX controls packaged by Google's kernel.
https://miniblink.net/
https://miniblink.net/views/doc/APIDocument/API/index.html
Can replace the original electron seamlessly, only 3 files are needed to replace the original electron
The volume is only one twentieth of the original version of electron, seamlessly replace the original version, no need to change the js code, support windows xp

The second solution is for loyal VB6 fans to package the edge into a control, which requires webView2Loader.dll (108KB), RC6.dll (1Mb)

VB6 WebView2-Binding (Edge-Chromium)-VBForums
https://www.vbforums.com/showthread.php?889202-VB6-WebView2-Binding-(Edge-Chromium)

IE6 used to be the browser with the most users, but it was completely defeated by Google Chrome in 2012.
Now Microsoft has also chosen to use the Google kernel chromium. This may be a good thing, but please don't give up IE completely.
Vb6 has supported webbrowser for 23 years, right? The COM interface is always the same. You can use it directly after you drag the control and enter a URL.
The programming difficulty learning cost is 0.
Since oprea, firefox, chrome, they all do not support vb6 control method calls.
Simply put, they only want you to use his browser EXE, not one of their controls or references.
To use them, you must use the open source chromium, after tens of minutes and hours of compilation,
In addition, it takes tens of millions of dollars to build a most common browser by studying for several months and years.
If there is a chromium.ocx or chromium.dll, just like sqlite3.dll, we can directly call it by stdcall.

In fact, since Edge started, Microsoft should develop an ocx control for vb6, vba form, delphi and other development tools.
The edge, which is completely different from the IE kernel, is rarely used by anyone. This is one reason why Microsoft does not support developers.

Once vb6 and vc6 were the same powerful development tools, they were abandoned after 1998. .NET code is easy to be decompiled, and there are many controls on the form, and the loading speed and running speed are also very slow.
ASP.NET is also too big, running speed is slow, development is troublesome, developers don't like it, a lot of use of PHP is no way.
Originally, VBS is a very convenient tool, we only need to develop a small VSCODE IDE for other uses. In fact, you don't need powershell anymore.
In fact, VBS should be made cross-platform, so no one will use PYTHON.
Now I heard that excel vba should be replaced with python and Javascript code? Old programmers are sad.
China's linux version wps office software has developed a javascript script to replace VBA, because VBA cannot run on LINUX.

Google Chrome browser v8, he all runs in a deductive type. It's a pity that VBA hasn't been compiled for 25 years, and the speed is 5-20 times slower than V8.
If VBA can be compiled into COM DLL, how convenient? The running speed must be many times faster than the explanation running.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Begin by locating the existing WebView2 samples and clarifying whether the deliverable is a VB6/VBA/Python/VBS COM control or a sample; completion requires an agreed target language and acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, visualbasic
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.