#region /* mads's thoughts */backlog on sharepoint, office and .net developmentWebBrowser control and InvokeScript- September 23, 2005 This is a little code nugget I planned to blog about a while ago, but forgot, so my recap and reasoning is not a 100% but hopefully it might be of help to someone struggelig with making the System.Windows.Forms.WebBrowser control execute scripts programatically. I started out using the WebBrowser.InvokeScript method to force execution of clientside scripts in the page that was loaded in my WebBrowser control: HtmlWindow win = doc.Window;doc.InvokeScript("Update_UI_From_Values();"); This is...http://weblogs.asp.net/mnissen/archive/2005/09/23/425837.aspx Error using VSTO 2005 Outlook Addin with VS2005 RC1- September 22, 2005 Just installed Visual Studio 2005 RC1 and reinstalled Visual Studio Tools for Office 2005 Outlook on top to continue working on my Outlook Add-in. When trying to cast a MailItem object i recieved the following error: System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.MailItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID...http://weblogs.asp.net/mnissen/archive/2005/09/22/425785.aspx |