Code implementation of WebView2 control in VB6

Bhargavi Upadhye 1 Reputation point
2022-02-08T13:14:44.59+00:00

I went through the official documentation to see for WebView2 control. But, I couldn't find any implementation for WebView2 with VB6. Is there any solution for this?

Developer technologies VB
Microsoft Edge Microsoft Edge development
{count} votes

5 answers

Sort by: Most helpful
  1. Castorix31 90,681 Reputation points
    2022-02-08T13:46:51.163+00:00

    Maybe you can try the WebView2Demo.zip sample from this thread, using vbRichClient
    (not tested)


  2. Anonymous
    2022-02-09T06:46:13.79+00:00

    Hi @Bhargavi Upadhye

    From the official doc, WebView2 is available for the following programming environments:

    • Win32 C/C++ (GA)
    • .NET Framework 4.5 or later
    • .NET Core 3.1 or later
    • .NET 5
    • .NET 6
    • WinUI 2.0 (Preview)
    • WinUI 3.0

    There's no official support of VB6 for WebView2. I suggest that you can provide feedback about your demand to WebView2 team from here. Besides, you can also refer to Castorix31's answer and try the WebView2Demo sample in the link.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    0 comments No comments

  3. François JACQUOT 0 Reputation points
    2023-03-18T19:06:35.8566667+00:00

    You can find here: https://freeware.ordoconcept.net/OrdoWebview2.phpan ActiveX control (ocx using vbRichClient) that allows to use the Webview2 with VB6

    0 comments No comments

  4. eds xiaoyao 0 Reputation points
    2023-06-03T05:08:54.4+00:00

    vb6 edge webview2 demo by IUnknown,without rc6.dll-VBForums

    https://www.vbforums.com/showthread.php?900231-vb6-edge-webview-demo-by-IUnknown%26%2365292%3Bwithout-rc6-dll

    i put a sample ,you can download to try

    0 comments No comments

  5. eds xiaoyao 0 Reputation points
    2023-06-03T05:09:38.49+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.