Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12353

Re: Embedded WebBrowser won't work in WSH?

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Embedded WebBrowser won't work in WSH?
Date 2021-07-06 23:28 -0400
Organization A noiseless patient Spider
Message-ID <sc372c$ojl$1@dont-email.me> (permalink)
References <7g4nfj8forql$.1urjtzdtnqtq7.dlg@40tude.net> <sc1jr4$d41$1@dont-email.me> <1pclt2xxr5hky.5eek3x88mfi3.dlg@40tude.net>

Show all headers | View raw


"JJ" <jj4public@gmail.com> wrote

|
| Yes, it's the WebBrowser control. Not all ActiveX controls need a window. 
A
| view can be used without a parent window. It depends on the 
implementation.
| I just wasn't sure whether WebBrowser control requires a parent window or
| not.
|
| I'm currently using IE remoting because that was the only solution so far. 
I
| just don't like having to use separate process, because if an unexpected
| error occurs and the script terminates, the separate process would become 
an
| orphan and I'd have to manually terminate it.

I've never noticed that object before, but I do find I can
mount it in an HTA with the following:

<OBJECT ID="WB" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" 
width=600 height=400> </object>

I can then navigate to a local HTML file via script. I don't know
if that's of any value to you. It would, at least presumably be in
the same process.

   Or is it the same process? I don't know. Spy++ shows it with
an Internet Explorer_Server and a second one under that. But
a WB generally does its own thing. I'm not sure it's ever in-process. 

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Embedded WebBrowser won't work in WSH? JJ <jj4public@gmail.com> - 2021-07-06 19:06 +0700
  Re: Embedded WebBrowser won't work in WSH? "Mayayana" <mayayana@invalid.nospam> - 2021-07-06 08:54 -0400
    Re: Embedded WebBrowser won't work in WSH? JJ <jj4public@gmail.com> - 2021-07-07 10:07 +0700
      Re: Embedded WebBrowser won't work in WSH? "Mayayana" <mayayana@invalid.nospam> - 2021-07-06 23:28 -0400
        Re: Embedded WebBrowser won't work in WSH? JJ <jj4public@gmail.com> - 2021-07-08 06:53 +0700

csiph-web