I have a WPF application, in which we are using webbrowser to render web pages on it.
((mshtml.HTMLButtonElement)(element)).type throws below exception when we run on Win7 64 bit machine.
Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))(System.Runtime.InteropServices.COMException)
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at mshtml.DispHTMLButtonElement.get_type()
Microsoft.mshtml reference properties:
Embed Interop Types: True
Runtime Version: v1.0.3705
Specific Version: True
Version: 7.0.3300.0
Microsoft.Mshtml throws exception in Windows 7 64 bit machine, where as it is working fine with x86 bit machine;Please help me in this regard.