question

esgurdl-8320 avatar image
0 Votes"
esgurdl-8320 asked Castorix31 commented

MFC How Webcontrol Is replaced?

Hello. I am using visual studio6.0 MFC.
I am using webcontrol2, and I wonder if there is a control that can be replaced in 6.0 if internet explorer is discontinued.

c++
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JeanineZhang-MSFT avatar image
0 Votes"
JeanineZhang-MSFT answered JeanineZhang-MSFT commented

Hi,

As far as I'm concerned, the only one Web Control in MFC is WebBrowser Control.

According to the Doc:

The WebBrowser ActiveX control (and therefore CHtmlView) is available only to applications running under Windows versions in which Internet Explorer 4.0 or later has been installed.

I wonder if you want to use the control without internet explorer? If so, in my opinion, there is not a control that can be replaced in 6.0 if internet explorer is discontinued.

Best Regards,

Jeanine


If the response is helpful, please click "Accept Answer" and upvote it.

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.




· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@esgurdl-8320

May I know if you have got any chance to check my answer? I am glad to help if you have any other questions.

0 Votes 0 ·
Castorix31 avatar image
0 Votes"
Castorix31 answered Castorix31 commented

> I am using visual studio6.0 MFC.

Why VS 6 ?
VS Community 2019 is free

The replacement of WebBrowser control is WebView2, with VS >= 2015 as noted
(WebView2 Edge Browser in MFC C++ Application )


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Many of us have legacy applications with hundreds of lines of code. I know mine would take more than is left of my lifetime to convert to a dot net version.

I have an app that was written decades ago and is still perfectly usable. Unfortunately, the web page it needs to display in a dialog has been upgraded and now reports that it needs a more up to date browser.

0 Votes 0 ·

Unfortunately, the web page it needs to display in a dialog has been upgraded and now reports that it needs a more up to date browser.

Usually WebBrowser Emulation works
(Browser Emulation)


0 Votes 0 ·