Advanced help with Webbrowser control needed...

J

Jim Hubbard

I want to implement the same type of activeX restrictions in my browser
application that the new SP2 for XP places in Internet Explorer.

I have found 2 web pages dealing with this functionality
(http://msdn.microsoft.com/library/d...szone/reference/enums/INTERNETFEATURELIST.asp
and
http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/hosting/wbcustomization.asp)
but I am at a loss as to how to implement this functionality in VB.Net or
C#.

I tried adding urlmon.dll to my VB.Net project as a reference to use the
CoInternetSetFeatureEnabled functionality (see
http://msdn.microsoft.com/library/d...nce/functions/cointernetsetfeatureenabled.asp),
but Visual Studio will not allow it. I get, in part, "This is not a valid
assembly or COM component." when I try and add it to my project.

Any help in implementing this type of functionality would be greatly
appreciated.

VB.Net is the language I am most familiar with, but C# examples would also
be helpful. I will re-write the app in C# if needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top