Group:  Microsoft Outlook » microsoft.public.outlook.program_addins

Geek News

Threads Replies Last Post
45 Pages: <<  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  >>  
How attachments and inspectors work together
Hello, In my program, I am trying to determine the cause of a memory leak with opening and closing inspector windows with attachments (may be my addin or another addin).. But my question is towards what happens behind the scene with insepctor windows and attachments: Once the email is opened, i am under the impression that a reference to the attachment is obtained , and the entire at...
1 1/31/2007 8:57:01 PM
custom button not appearing when a mail item is opened
I have created COM-Addins to create a custm toolbar and button. When the outlook is started the toolbar and button appears in the command bar. When I open a mail item to read, then the toolbar and button doesn't appear on this mail item. How make the toolbar and button appear in new mail window and open a mail window....
2 1/31/2007 3:05:40 PM
How to populate the added Property Page when Outlook opens up, if the properties are not set.
Hi, Can any one suggest me regarding opening of the Tools[Options] property page programmatically when the outlook is started . Actually i have made a addin to add a property page which takes some user specific information but i want it to be opened with outlook whenever outlook is opened and the properties i.e - values in the page are empty or blank. The addin i had made is in C#, so sugg...
2 1/31/2007 3:04:10 PM
custom button not appearing when a mail item is opened
I have created COM-Addins to create a custm toolbar and button. When the outlook is started the toolbar and button appears in the command bar. When I open a mail item to read, then the toolbar and button doesn't appear on this mail item. How make the toolbar and button appear in new mail window and open a mail window....
1 1/31/2007 6:23:02 AM
"first day of the week" appointment item
Does anyone know where Outlook stores the "first day of the week" field for calculating recurring appointments? I can tell you based on testing (ask me if you want to verify the test steps) that Outlook DOES store the "first day of the week" setting in each appointment record. You can change this setting via Tools->Options->Calendar Options, which usually defaults to "Sunday" as the...
3 1/29/2007 10:46:36 PM
unable to save attachment-- Outlook 2003, C#
Hi, I am developing a plug-in to Outlook 2003 using C#. I am trying to save attachments in the mail-item-send event handler. If the mail-item has ordinary attachments, like when user clicks Attach button, I am able to save them. But, if the mail-item has attachment as a result of an inline image(user copy-paste an image to mail body) I get a COM exeption, with the message: "Cannot save ...
3 1/29/2007 5:54:59 PM
Programmatically sending email via Outlook COM Add-In
I'm trying to send email from a VB6 program via a COM Add-In. I've created a simple Add In along the lines in Thomas Rizzo's book Programming Microsoft Outlook... Chapter 7. I've added a Public Function SendEmail. But I can't call my SendEmail function from another application. If anyone has experience of calling functions in Add Ins from another application, please let me know how y...
7 1/29/2007 4:47:00 PM
Outlook.MAPIFolder: for each compile error
When I try to compile this: foreach (Outlook.MAPIFolder tmpFolder in theFolder.Folders) { MesageBox.Show(tmpFolder.Name); } I get this: foreach statement cannot operate on variables of type 'Outlook.Folders' because 'Outlook.Folders' does not contain a definition for 'GetEnumerator', or it is inaccessible Anyone know what is the problem? thanks, craig ...
2 1/29/2007 2:05:03 PM
Modifying the email message window
Hi everyone, I'm trying to add a command bar to the email message window that opens when you click on "New". I'm trying to do this in C# and am somewhat new to the Outlook object model. Upon looking at the msdn documentation I tried using the NewInspector event as follows: private Outlook.Inspectors myInspectors; public void Initialize_handler() { myInspectors = t...
3 1/29/2007 2:04:26 PM
Outlook 2003 VSTO framework conflicts with other apps using MAPI
Hello guys.. I have an issue with one of the apps that connects to Outlook to retrieve calendar information. It is a windows app that displays calendar and recent mail items. Here is the sample code using Microsoft.Office.Interop.Outlook; public class OutlookSource { private Application outlookApp; private NameSpace outlookNS; public void OutlookSource ...
6 1/26/2007 8:50:12 PM
Problem with MAPIFolder.Items.Restrict(), C#, Outlook 2003 and ear
I want to aquire all items in the folder that starts later than a specified time. How can I use the Restrict method to achieve this? In MSDN, there is a VB example: sFilter = "[LastModificationTime] > '" & Format("1/15/99 3:30pm", "ddddd h:nn AMPM") & "'" But how about C#? I tried using String.Format with the following code but failed: Outlook.Items appointmentItems...
2 1/26/2007 7:36:02 AM
how to convert 'System::String ^' to 'BSTR'
i am creating a addin for outlook express in vc++2005 I am trying to load xml to my code with the following code STDMETHOD(GetCustomUI)(BSTR RibbonID, BSTR * RibbonXml) { Assembly^ assem=Assembly::GetExecutingAssembly(); Stream^ strm= assem->GetManifestResourceStream("test.Xmlres.test.xml"); StreamReader^ reader= gcnew StreamReader(strm); *RibbonXml= reader->ReadToEnd()...
2 1/26/2007 1:03:34 AM
Opening browser within outlook
I would like to launch a link to a web application and browse this page from within (Embedded ) Outlook (using c#). I dont want to use a folder structure and set the homepage . I got a link http://www.outlookcode.com/d/tips/formhyperlink.htm to do this .. Is there any other related links to this . Thanks RK ...
2 1/26/2007 12:53:57 AM
Delete MailItem
Hi, While i delete MailItem ( myMailItem.Delete() ) should i also call ReleaseComObject, and is it good idea to call Application.DoEvents after deleting item?? please review the code snippets: ................ ........... ............. mailItem.Delete(); Application.DoEvents(); Marshal.ReleaseComObject(mailItem); mailItem = null; ...................... ........................
6 1/25/2007 6:47:21 PM
How to add a menu item to AppointmentItem's right-click menu?
I want to add a menu item (a button) to AppointmentItem's right-click menu (context menu). I guess this can be done in the connect.cs of a COM Add-in?...
7 1/25/2007 6:43:50 PM
Attachment Options
Hi! Is it possible to change the action that occurs when I hit the Attachment Options button? I'd like to show my own C# form. Is there an overview how menu's, windows (and so on) in Outlook are called or how they can be accessed? Thanks in advance, Steffen...
1 1/25/2007 12:58:39 PM
Query regarding Outlook Add-in and User's Security Groups
Hi All, I am developing add-in using C# 2.0 and VSTO for MS Outlook 2003 which is configured for Exchange Server 2003 SP1. Is there is any way to access security group(s) of current user from the add-in code? I thought of executing Active Directory query on my exchange server in add-in but got stuck by unavailability of Exchange Server LDAP address in MAPI/CDO object model. Also,...
1 1/24/2007 10:31:00 PM
Publish form Issues
Hi, I am trying to publish a form via an outlook addin. When I call Publish Form, I get an exception that says: one or more paramters are incorrect. any ideas? thanks, craig Outlook.MailItem theItem; Outlook.FormDescription theDesc; //Environment.GetFolderPath(Environment.SpecialFolder.Personal) Ol.MAPIFolder draftFolder = OutlookApp.Session.GetDefaultFolder(Ol.OlDefaultF...
5 1/23/2007 11:11:41 PM
VSTO 2005 SE add-in for Outlook 2003 & Outlook 2007?
I have written an Outlook 2003 shared add-in, and it seems to run pretty well in Outlook 2007. I am planning on migrating it to VTSO 2005 SE. I'd like my add-in to run equally well in Outlook 2003 and Outlook 2007. However, if it's running in Outlook 2007 I'd like to be able to take advantage of some of the new features, like using RibbonX instead of a toolbar that's placed on the Add-...
4 1/23/2007 8:16:48 PM
Custom Preview Pane for Outlook 2003
Hi all, I am trying to accomplish customization on the Outlook Preview window. I have done low level things such as highlighting in the past. I have created an Outlook 2003 Add-in that I developed using ATL/C++. I want to create a custom window for the preview window to view particular messages within the inbox – not all messages will use this custom preview pane. I have seen a bunc...
1 1/23/2007 5:26:01 PM
Outlook 2007 mangling HTMLBody changes, Not supporting image maps?
So, I have an application which hooks the MailItem Send event in Outlook and wraps the message in a template automagically. The product is basically a way to wrap your emails in a template that appears like your company letterhead, but with the nice features of HTML added to it such as linking to specific bits of information on the customers website. When they send the message to their cust...
7 1/22/2007 8:29:16 PM
Event for Create new mail
Hi, Is there an event when user click the new button in outlook. I am using VSTO 2005 & outlook 2003 Thanks. ...
2 1/22/2007 3:31:53 PM
MailItem.Move changes Received Date
Hello All, I have had some reports from a client that use a COM add-in that we created that when it programatically moves messages to other folders, that it modifies the received date (PR_MESSAGE_DELIVERY_TIME) to the time that it was moved. We could not duplicate this problem in any of our computers. Whether moving from an Exchange folder to Exchange folder, or Exchange to a PST. The a...
2 1/21/2007 11:27:48 PM
newbie question
i need to write two outlook COM add-ins .. plugins, whatever you call them. One for Outlook Express and the other for Outlook 2003. Could somebody please point me to some docs that describes add-in development in C++ for each client - especially Outlook Express .. can't seem to find anything. book recommendations would also be very welcome. TIA ...
6 1/21/2007 9:57:55 AM
Close New Mail Window programmatically
Hi! If I create a new mail object with my Outlook Application, is it possible to close the gui element representing the mail programmatically? I want to abort sending the mail and close the mask. Best Regards, Steffen...
5 1/19/2007 12:54:23 PM
45 Pages: <<  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  >>  

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net