I am reading the book "Programming Applications for Microsoft Office Outlook : 2007". In the sample code..
private void Application_ItemContextMenuDisplay(
Microsoft.Office.Core.CommandBar CommandBar,
Microsoft.Office.Interop.Outlook.Selection Selection)
{
OutlookItem oItem = new OutlookItem(Selection[1]);
//...
}
The...
I want to write a simple Outlook 2007 AddIn that allows me to manually Auto-Archive mails. That is, I right-click a mail, select Auto-Archive and it gets moved into my Archive folder.
Unfortunately, I do not seem to be able to detect which one is the Archive Storage. I know that Application.GetNamespace("MAPI").Stores is a list of all m...
Hi,
I'm going crazy on this one.
Basically I want to retrieve a task based on the EntryID of this task.
so what I do is the following:
Outlook.MAPIFolder outlookTasksFolder = Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks);
string filter = String.Format("@SQL=\"urn:schemas:tasks:entryid\" like '%{0}%'", myEn...
So I created an Outlook Add-in and used the click-once setup to deploy it.
The setup runs fine when the user is administrator, but otherwise: no go.
Running the setup with "run as..." and logging in as admin works, but than the add-in is installed under the admin, not the current user. The addin doesn't show up in outlook.
I tried fo...
I notice that Project 2007 has the functions that allow operations that can be undone to be placed in a single stack item, or "undo transaction". For example:
Application.OpenUndoTransaction "Create 6 tasks"
Dim i As Integer
For i = 1 To 6
ActiveProject.Tasks.Add "UndoMe " & i
Next
Application.CloseUndoTransaction
What this means ...
Is there any way, in either VBA or C# code, to get a list of the existing macros defined in a workbook?
Ideally, this list would have a method definition signatures, but just getting a list of the available macros would be great.
Is this possible?
...
can somebody help: i have an AddIn which reads contacts from a Sharepoint Server.
The user can load a contact and make some changes or create a new one. At his point, saving the item works well. The Form closes and the item is beeing transfered to Sharepoint.
But if the user reopens the same contact again and trys to make a simple change...
I am migrating some TB of data from a user's mail box to multiple psts. I have written a tool to automate this process. this tool reads all the mails from inbox, and moves them to pst. No body is using these mail boxes i am workin on.
Some times, during process, i get a pop up that "Custom form could not be opened. Outlook will use an Ou...
I develop an application that use the Microsoft.Interop.Excel version 11 in .Net 3.5
How could I deploy it to a machine that doesn't have Microsoft Office 2003 installed ?
Did I absolutely need a full office license ? I hope no ...
...
How can I find out the properties and methods of COM objects returned from some .NET functions, which do not appear to be documented?
In the particular example I'm looking at, I'm inserting a picture into Excel using a function like:
Set NewPic = ActiveSheet.Pictures.Insert(FileName)
(See the SO post on this here.)
However, the MSDN...
i'm having 3 years of exp working with excel vba. Now i want to port to excel programming using .net and C#, where can i find learning resources to get up to speed with the equivalent way in C#?
thanks
...
Is there any way I can access the mouse events in Outlook 2007? I know you can access the mouse events for a custom form region. However I would like to access the mouse events of an inspector.
Thanks
...
We want to develop addins for outlook, word and excel. As of now I am aware of 2 types of solutions. One to go for Shared Add-in (COM based) and other to build VSTO based Add-in.
As I am new to this, which would be the better option? (Or if there is 3rd way,please let me know) We are targeting Office 2003 and 2007 both. And I would prefe...
I want to create a custom Addon/plugin for Outlook 2003, to support integrated functionality with a task management system.
I am unable to find many good development resources for the same.
Can someone please explain Outlook 2003 architecure and development of a plugin.
Good links/resources are also welcome.
...
i have this "simple" Outlook-Object:
Outlook.Explorer olExplorer = this.Application.ActiveExplorer();
in "ThisAddin_StartUp" i register the olExplorer.FolderSwitch event to a function olExplorer_FolderSwitch(). There i must create an Outlook-Folder Object from the current Folder:
Outlook.Folder f = olExplorer.CurrentFolder as Outlook...
Hi there,
I've developed an Excel 2003 addin in C#, using VSTO and VS 2008. The addin works just fine on my machine (HP NC6320 laptop, 3gb RAM T5600 1.8ghz Core2 cpu), however when it is tested on another users machine (HP nc6710b laptop 2gb RAM, T7200 2ghz Core2 cpu), it is substantially slower. I've also tried it on another laptop the...
Hi,
I've looked all over the internet and could not find an answer for this one...
Basically, what I want to do is to retrieve all the TaskItems from all the Tasks folders and put them into one single Outlook.Items list.
I know how to look at all the folders and how to retrieve the tasks from these folders, but i don't know how to put t...
I'm trying to save a Word document into iManage using ImportCmd from IMANEXTLib and I'm getting a new instance of Word every time I run it.
I've saved the document to doc1.doc, and then:
'Connects to WorkSite
Dim dmsConnection As IManage.IManDMS = New IManage.ManDMSClass()
dmsConnection.ApplicationName = "My Application"
...
Hi,
I am wondering how to open a website inside Outlook 2007 programmatically using C#?
and still retain the ToDo bar.
thank you
...
I'm building an outlook addin, and I was wondering if there was any standard way to have the addin update itself when we release new versions (or at least notify the user to visit our website and download/install the newest version)? The naive way I've been thinking about doing is just pinging our server every once in a while to check fo...