WebView2 Extender Update

Started by JTaylor, October 30, 2025, 02:56:44 PM

Previous topic - Next topic

JTaylor

I got to wondering if I could create an Extender and a registerable COM DLL in the same file.  Turns out I can.   You can now use the wbOmniWV2.dll as an Extender or register it via regsvr32 and use it with any environment that allows you to do something like 

     db = ObjectCreate("WV2.BrowserObject")

at least I am making that assumption.   Haven't tried very many :-)

     http://www.jtdata.com/anonymous/wbOmnibus.zip


Jim

bottomleypotts

Pretty cool Jim.

I appreciate what you do for the community!

td

Quote from: JTaylor on October 30, 2025, 02:56:44 PMI got to wondering if I could create an Extender and a registerable COM DLL in the same file.  Turns out I can.   You can now use the wbOmniWV2.dll as an Extender or register it via regsvr32 and use it with any environment that allows you to do something like 

     db = ObjectCreate("WV2.BrowserObject")

at least I am making that assumption.   Haven't tried very many :-)

     http://www.jtdata.com/anonymous/wbOmnibus.zip

You could make your extender self-registering. We have done that with one or two of our nonpublic extenders. 
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

JTaylor

I will have to look into this option.  Thanks.

Also, in case anyone doesn't know, this Extender allows you to embed a WebBrowser into a dialog.  You can also skip the embedding option as well.  It can be visible or not, in case you want browsing without the browser taking up space, nice for quiet scraping. It also allows for DOM access and HTML, XML and JSON parsing.

Jim


Quote from: td on Today at 07:34:21 AMYou could make your extender self-registering. We have done that with one or two of our nonpublic extenders. 

spl

Quote from: JTaylor on Today at 08:07:10 AMIt can be visible or not, in case you want browsing without the browser taking up space, nice for quiet scraping. It also allows for DOM access and HTML, XML and JSON parsing.

https://forum.winbatch.com/index.php?topic=3262.msg19172#msg19172
Stan - formerly stanl [ex-Pundit]

SMF spam blocked by CleanTalk