How to block ActiveX controls in WebBrowser HTML Document

JLSEsq

Member
Joined
Nov 8, 2005
Messages
8
Im writing a Windows Form application in VB.NET, and hosting an AxWebBrowser control on one of the forms. The form in question is used to display HTML format e-mail messages. I take the HTML body of the e-mail, use it to create a web file (.htm), and then navigate to the file. This all works fine; however, I want to implement some security options. Specifically, I want to block any ActiveX controls in the e-mail to prevent viruses. Does anyone know how to do this?
 
Back
Top