Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataSet byte array storage Pin
Heath Stewart19-May-04 9:36
protectorHeath Stewart19-May-04 9:36 
GeneralGlobal Variables in Visual C# Pin
Anonymous19-May-04 8:32
Anonymous19-May-04 8:32 
GeneralRe: Global Variables in Visual C# Pin
Heath Stewart19-May-04 8:55
protectorHeath Stewart19-May-04 8:55 
GeneralRe: Global Variables in Visual C# Pin
sreejith ss nair19-May-04 20:40
sreejith ss nair19-May-04 20:40 
GeneralHelp reqd to Show Help .... Pin
fayazhsn19-May-04 8:25
fayazhsn19-May-04 8:25 
GeneralRe: Help reqd to Show Help .... Pin
Heath Stewart19-May-04 8:52
protectorHeath Stewart19-May-04 8:52 
GeneralRe: Help reqd to Show Help .... Pin
fayazhsn19-May-04 9:05
fayazhsn19-May-04 9:05 
GeneralRe: Help reqd to Show Help .... Pin
Heath Stewart19-May-04 9:43
protectorHeath Stewart19-May-04 9:43 
You implement them and expose your implementation to MSHTML (rather, the aggregate WebBrowser control) the same way. The article I linked shows you how to build a typelib from which you can create an interop assembly. You must do that unless you want to create an RCW manually, which is entirely possible (that's how I typically do it when I need to interop with only a few unmanaged interfaces).

For more information on these interfaces, you should see the topic Programming and Reusing the Browser[^], specifically the section Advanced Hosting Reference[^].

Once you've created an RCW for the IDocHostShowUI interface, you must tell the WebBrowser control that you're it's parent. The article I linked also explains one way to do that. There are several ways, and without hacking the source for the AxWebBrowser control (if you use aximp.exe to create that interop assembly, you can opt to generate source code instead) that's the easiest way to do it.

 

Microsoft MVP, Visual C#
My Articles
GeneralVS.NET Enterprise Architect vs. Professional Pin
Anonymous19-May-04 8:10
Anonymous19-May-04 8:10 
GeneralRe: VS.NET Enterprise Architect vs. Professional Pin
Grimolfr19-May-04 8:18
Grimolfr19-May-04 8:18 
GeneralRe: VS.NET Enterprise Architect vs. Professional Pin
Anonymous20-May-04 2:27
Anonymous20-May-04 2:27 
GeneralRe: VS.NET Enterprise Architect vs. Professional Pin
Dave Kreskowiak20-May-04 3:13
mveDave Kreskowiak20-May-04 3:13 
GeneralRe: VS.NET Enterprise Architect vs. Professional Pin
Anonymous20-May-04 7:37
Anonymous20-May-04 7:37 
GeneralRe: VS.NET Enterprise Architect vs. Professional Pin
Dave Kreskowiak20-May-04 11:52
mveDave Kreskowiak20-May-04 11:52 
GeneralRe: VS.NET Enterprise Architect vs. Professional Pin
Anonymous21-May-04 2:12
Anonymous21-May-04 2:12 
GeneralRe: VS.NET Enterprise Architect vs. Professional Pin
Anonymous25-May-04 19:26
Anonymous25-May-04 19:26 
Generalregd treeView control Pin
karteek19-May-04 8:06
karteek19-May-04 8:06 
GeneralRe: regd treeView control Pin
Dave Kreskowiak19-May-04 8:31
mveDave Kreskowiak19-May-04 8:31 
GeneralRe: regd treeView control Pin
Heath Stewart19-May-04 8:49
protectorHeath Stewart19-May-04 8:49 
GeneralRe: regd treeView control Pin
karteek19-May-04 9:04
karteek19-May-04 9:04 
GeneralRe: regd treeView control Pin
Heath Stewart19-May-04 9:08
protectorHeath Stewart19-May-04 9:08 
GeneralRe: regd treeView control Pin
Dave Kreskowiak19-May-04 10:07
mveDave Kreskowiak19-May-04 10:07 
GeneralSystem.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET' Pin
oOomen19-May-04 8:03
oOomen19-May-04 8:03 
GeneralRe: System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET' Pin
Grimolfr19-May-04 8:21
Grimolfr19-May-04 8:21 
GeneralRe: System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET' Pin
Dave Kreskowiak19-May-04 8:23
mveDave Kreskowiak19-May-04 8:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.