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?

Path csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Embedded WebBrowser won't work in WSH?
Date Tue, 6 Jul 2021 23:28:29 -0400
Organization A noiseless patient Spider
Lines 33
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>
Injection-Date Wed, 7 Jul 2021 03:29:16 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="29a65413b4e7f1c1c0f5befc287b35c9"; logging-data="25205"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Tu7SmzMNDUvIO40FjJSgow1WsZKhpQUI="
Cancel-Lock sha1:VDF+J2/p2WW7Og3fITIqWSdz3hI=
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader Microsoft Outlook Express 6.00.2900.5512
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com microsoft.public.scripting.vbscript:12353

Show key headers only | 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