I was attempting to use the
Guid("B722BCCB-4E68-101B-A2BC-00AA00404770")
for IOleCommandTarget
and Guid("D30C1661-CDAF-11d0-8A3E-00C04FC9E26E") for interface IwebBrowser2
However I got errro
Error 1 'System.Drawing.NativeMethods' is inaccessible due to its protection
level c:\webCtlExtended\WebCtlExtended.cs 182 50 webCtlExtended
and
Error 2 The type name 'OLECMDID' does not exist in the type
'System.Drawing.NativeMethods'
C:\webCtlExtended\webCtlExtended\WebCtlExtended.cs 182 64 webCtlExtended
for
[DispId(0x1f5)]
NativeMethods.OLECMDF QueryStatusWB([In] NativeMethods.OLECMDID
cmdID);
[DispId(0x1f6)]
void ExecWB([In] NativeMethods.OLECMDID cmdID, [In]
NativeMethods.OLECMDEXECOPT cmdexecopt, ref object pvaIn, IntPtr pvaOut);
it appears that the the guid ofr IWebBrowser is wrong
I am using C3 2008 express with target being .net 3.5