2008年9月3日

动态 加载 addin

摘要: 原来是通过server document: Microsoft.VisualStudio.Tools.Applications.ServerDocument.AddCustomization(wordFilePath, uri); 阅读全文

posted @ 2008-09-03 16:01 逝去的时光 阅读(178) 评论(0) 推荐(0)

2008年9月2日

change View in word 2007

摘要: oWord.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekPrimaryHeader 阅读全文

posted @ 2008-09-02 15:19 逝去的时光 阅读(115) 评论(0) 推荐(0)

2008年8月15日

CLOSEEDIT IN EXCEL (把焦点从当前单元格上移开)

摘要: try { objMiss=Missing.Value; XLApp.Visible = true; XLApp.ActiveCell.Activate(); XLApp.ActiveCell.FindNext(objMiss); ... 阅读全文

posted @ 2008-08-15 10:02 逝去的时光 阅读(272) 评论(0) 推荐(0)

2008年8月14日

How to hook ribbon button click event from external application?

摘要: How to hook ribbon button click event from external application? =================================================== We don't know anything the environment your users work in, but if it's a cor... 阅读全文

posted @ 2008-08-14 16:56 逝去的时光 阅读(313) 评论(0) 推荐(0)

Certificate file types for AddIns in VStudio 2008

摘要: Hello, does anyone know that what Certification file types (other than .pfx) are supported in Visual Studio 2008 for signing Add-In ClickOnce Manifest or Assebly? Only .pfx files are shown in S... 阅读全文

posted @ 2008-08-14 11:09 逝去的时光 阅读(204) 评论(0) 推荐(0)

2008年8月6日

How to

摘要: outlook 2007 , VSTO SE c# 2005 how can I delete root folder? private Outlook.Folder MyFolders; MyFolders= store.GetRootFolder() as Outlook.Folder; how can I delete MyFolders? ===================... 阅读全文

posted @ 2008-08-06 10:40 逝去的时光 阅读(163) 评论(0) 推荐(0)

MAPI NameSpace(摘抄)

摘要: 获得现有 Outlook 项 除了创建新项以外,Outlook 2003 模型还允许获得(并且可能修改)现有项。不管对枚举哪个 Outlook 项感兴趣,基本过程都是: 从 Application.GetNamespace() 获得 NameSpace 类型。 从 NameSpace.GetDefaultFolder() 获得 MAPIFol... 阅读全文

posted @ 2008-08-06 09:58 逝去的时光 阅读(1523) 评论(0) 推荐(0)

2008年7月31日

my "this" object doesn't have a CustomTaskPanes property

摘要: The CustomTaskPanes collection is a property on the ThisAddIn class. So, you will be able to access it within the ThisAddIn_Startup method using the "this." syntax. If you're not seeing the collecti... 阅读全文

posted @ 2008-07-31 11:44 逝去的时光 阅读(209) 评论(0) 推荐(0)

2008年7月24日

出现Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.MailItem' 错误的解决

摘要: 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 ... 阅读全文

posted @ 2008-07-24 11:32 逝去的时光 阅读(6690) 评论(0) 推荐(0)

2008年7月23日

Outlook 点击new message 触发的事件

摘要: Hello, First able , sorry for disturbing you, but I need really some help. So thanks!! Actually, I want to create a new button in the “ New mail window of outlook 2007”, and when I click on this b... 阅读全文

posted @ 2008-07-23 09:30 逝去的时光 阅读(364) 评论(0) 推荐(0)

导航