Are ActiveX Controls Disabled?

From other forums, I have learned that it is due to the MS Update and that a good fix is to simply delete the file MSForms.exd from any Temp subfolder in the user’s profile. For instance: C:\Users\[user.name]\AppData\Local\Temp\Excel8.0\MSForms.exd C:\Users\[user.name]\AppData\Local\Temp\VBE\MSForms.exd C:\Users\[user.name]\AppData\Local\Temp\Word8.0\MSForms.exd Of course the application (Excel, Word…) must be closed in order to delete this file.

Differences between Excel’s Form Controls & ActiveX Controls

There is [eternal] confusion surrounding the two types of controls available to Excel — exacerbated by the contrasting terminology used by different online sources. This is only a general overview of the differences between Form Controls and ActiveX Controls (based on my old notes that helped me finally figure out the differences!) Visit the included … Read more

opening Outlook through javascript

You can definitely do this, the code looks like: var objO = new ActiveXObject(‘Outlook.Application’); var objNS = objO.GetNameSpace(‘MAPI’); var mItm = objO.CreateItem(0); mItm.Display(); mItm.To = p_recipient; mItm.Subject = p_subject; mItm.Body = p_body; mItm.GetInspector.WindowState = 2; p_recipient, p_subject & p_body being variables, passed in. You need to ensure this is running on a webpage which users … Read more

Blocking dialogs in .NET WebBrowser control

And for an easy way to inject that magic line of javascript, read how to inject javascript into webbrowser control. Or just use this complete code: private void InjectAlertBlocker() { HtmlElement head = webBrowser1.Document.GetElementsByTagName(“head”)[0]; HtmlElement scriptEl = webBrowser1.Document.CreateElement(“script”); string alertBlocker = “window.alert = function () { }”; scriptEl.SetAttribute(“text”, alertBlocker); head.AppendChild(scriptEl); }

What is the difference between “Form Controls” and “ActiveX Control” in Excel 2010?

Google is full of information on this. As Hans Passant said, Form controls are built in to Excel whereas ActiveX controls are loaded separately. Generally you’ll use Forms controls, they’re simpler. ActiveX controls allow for more flexible design and should be used when the job just can’t be done with a basic Forms control. Many … Read more