Arne Saknussemm
2017-11-23 15:32:34 UTC
Ok folks, my turn to ask for help; will try to explain the better I can
A friend of mine (ex colleague) got the task to mantain a legacy VB6
app, the program is quite complex and includes a "general purpose" form
used to show various "internet" contents and based on the "ShDocVw" OCX
(basically the IE browser OCX if you want to call it so)
Now, the problem is that some of the external resources (sites) used by
the app, were update in time and, as of today, some of them use recent
CSS and other features which are unsupported by the "old" IE control,
so those page rendering is, to say the best, "screwed"
When my friend asked me for help, my first idea was checking for some
way to integrate Chrome or FF, so I started playing with stuff like the
"SetParent..." API, adding "sendkeys" wrapped inside methods and so on,
but aside of being a clumsy (at least) approach, such an approach
doesn't allow to expose events (e.g. when a page load completes and so
on) and has a number of issues
So I went on and found this https://awesomium.codeplex.com/ now, adding
to that assembly a layer exposing a COM interface I may be able to
build something which VB may interface to, but it isn't exactly a quick
solution, so I decided to keep it in the backburner in case I won't be
able to find something else
So... and here's my request; do you know of any object/class/... which
may allow me to replace the regular "IE Browser" control so that it may
be used to replace the control in a VB project and allow to have some
kind of similar functionality (ok, code changes are expected, btw)
TIA
A friend of mine (ex colleague) got the task to mantain a legacy VB6
app, the program is quite complex and includes a "general purpose" form
used to show various "internet" contents and based on the "ShDocVw" OCX
(basically the IE browser OCX if you want to call it so)
Now, the problem is that some of the external resources (sites) used by
the app, were update in time and, as of today, some of them use recent
CSS and other features which are unsupported by the "old" IE control,
so those page rendering is, to say the best, "screwed"
When my friend asked me for help, my first idea was checking for some
way to integrate Chrome or FF, so I started playing with stuff like the
"SetParent..." API, adding "sendkeys" wrapped inside methods and so on,
but aside of being a clumsy (at least) approach, such an approach
doesn't allow to expose events (e.g. when a page load completes and so
on) and has a number of issues
So I went on and found this https://awesomium.codeplex.com/ now, adding
to that assembly a layer exposing a COM interface I may be able to
build something which VB may interface to, but it isn't exactly a quick
solution, so I decided to keep it in the backburner in case I won't be
able to find something else
So... and here's my request; do you know of any object/class/... which
may allow me to replace the regular "IE Browser" control so that it may
be used to replace the control in a VB project and allow to have some
kind of similar functionality (ok, code changes are expected, btw)
TIA