Hello,

I need to avoid loading images into a webBrowser control that I'm using in a C# project, but I'm not sure even if it's possible.

I have read that it could be done implementing the IDispatch interface and overriding the Invoke method:

http://msdn.microsoft.com/en-us/library/aa770041%28VS.85%29.aspx#Controlling_Download_and_Execution

But I'm not sure about how to do this in C#.

Thanks in advice for your help!

As far as i studied it is difficult to implement in c#..... this link contains a coding example follow this may be helpful


check this thread and this link these contain the same question...

@abelLazm:

Thanks for your reply. I have checked up those links before. They basically suggest to use the IDispatch interface, the problem is that I don't now how to do it using C#.

Hope someone could give some guide about it.

Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.