Website works in Chrome but not WebBrowser component


I am trying to use a particular website, using a WebBrowser component in a VB.Net app.

I do not have any control over the website that I am trying to access, but it works fine through Google Chrome.

Looking at the source of the website in question, it has the following form defined:

<form name="frmSearch" id="frmSearch" method="post" onSubmit="return false;" action="MeetingList.php">

Within this form, is the following button:

<a id="SPFundGoButtonLink" href="javascript:DoSearch(gnSearchFund);"><img id="SPFundGoButtonImage" src="4057/images/go.gif" border="0"></a>

If I visit this site in Google Chrome and click the above defined button, it works fine, however if I navigate to the same site in a WebBrowser component and click the same button it generates the following error:

'gnSearchFund' is undefined.

Any idea why this works in Chrome but not the WebBroswer component, and more importantly, can anyone think of a workaround for this?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DevAdminSystem Engineer | .NET Developer | Microsoft MVP | Technical SpeakerCommented:
The WebBrowser control is a managed wrapper around a component installed with Internet Explorer how you car read in this link:

When you try open with IE the page you have the same error?
Shaun VermaakTechnical SpecialistCommented:
Use CefSharp browser instead
rpmAuthor Commented:

The page works fine in IE

Shaun Vermaak:

I'll give that a go, thanks.
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

DevAdminSystem Engineer | .NET Developer | Microsoft MVP | Technical SpeakerCommented:
Try read this post abount Controlling WebBrowser Control Compatibility
rpmAuthor Commented:
No idea what to take from that document!
DevAdminSystem Engineer | .NET Developer | Microsoft MVP | Technical SpeakerCommented:
Read the part about the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
rpmAuthor Commented:
I've followed the instructions for CEF, installed the NuGet package and set the target CPU to X64.

I then try to add a ChromiumWebBrowser component onto Form1, and I get the following error:

Failed to load toolbox item 'ChromiumWebBrowser'. It will be removed from the toolbox.

What am I doing wrong?
rpmAuthor Commented:
Tried and failed to follow that document section.
Shaun VermaakTechnical SpecialistCommented:
Use the sample projects from the link. I struggled a bit with the x64 error until I used the sample project and reverse-engineered it. I spend hours looking at possible fixes and browser components, most cost an arm and a leg. CefSharp is the only free solution I found that didn't give me this error

PS: FeatureControl\FEATURE_BROWSER_EMULATION and doctype didn't work for me

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.