Marshal Hubs0/4 11 May 2012
My organization recently upgraded our Exchange server from Exchange 2003 to 2010. Since the upgrade some users are experiencing issues connecting to the new exchange server Global Address list from a custom VB.NET windows application using the Microsoft.Office.Interop.Outlook 12.0 Libraray. The Application was developed with VS 2008 and deployed via ClickOnce with Prerequisite Office Runtime 3.
docsmy666@gmail...0/1 24 Apr 2012
On Tuesday, April 10, 2001 1:50:03 PM UTC-7, Mike Reynoso wrote: > Hello, > > I hope someone can help me! I am running Outlook 2000. Everytime I hit the send > and receive button my Outlook crashes and hangs the computer with an error > message saying: OUTLOOK caused a general protection fault > in module KRNL386.EXE at 0001:00009347. > Registers: > EAX=00030000 CS=015f EIP=00009347
vic0/1 23 Mar 2011
Hi, I am using Outlook 2010, and have two mailboxes, individual mailbox A (Angela) and group mailbox B (Bank Department), When I open a mail from Mailbox A, and run macro ReplyAll() below, the FROM field of the email will be changed from Angela to Bank Department correctly, and displaying the following results: angela@hsb.com - Angela Angela - Bank Department bank@hsb.com - Bank
RDA0/1 04 Nov 2010
When I run the below snippet of code on a Vista Enterprise box using Outlook 2007, the following error occurs: "An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in MyApp.exe. Additional information: Operation aborted {Exception from HRESULT: 0x80004004 (E_ABORT)}" The snippet is below and the line where the error occurs is commented. I would
Dominik0/1 16 Sep 2010
Hi, First of all, sorry for x-posting, but I've set at least a follow-up to: microsoft.public.developer.outlook.addins I am not 100% sure if I have found the right group anyways, but let's begin first: We use Microsoft Office SharePoint Services in our company and have custom fields for our word, excels and other documents. It is possible to connect those with Outlook to have them as
David Farley0/5 29 Aug 2010
OS: Windows 7 64-bits App: MS Office 2010 RTM 64 bits I just installed Office 2010 RTM. Mobile phone will no longer synchronize with Outllok, WMDC 6.1 claims Oulook is "not installed". Is there a setting or a download to correct this? Thanks.
Ken Slovak0/2 21 Jul 2010
To use Outlook 2010 within my C# application I need to be sure that the proper Microsoft.Office.Interop.Outlook.dll (version 14) exists in the accessible path. This dll comes with Visual Studio 2010, and of course I cannot tell the users to install VS 2010 on their system. I tested my application on a system that does not have VS 2010, and it worked fine as long as the Microsoft.Office.
ritpg0/1 10 Jun 2010
...after upgrading to Office 2007 under XP and installing what I now know is the infamous Windows Search 4.0. I can search my Inbox and Sent folder but consistently get null results when I search any of my many .pst files. I would uninstall Windows Search if it weren't for the fact that several updates have been pushed to my PC since it was installed and I fear that uninstalling it would
Ken Slovak - [M...0/2 24 May 2010
outlook 2003 catander items.restrict when restricting items by dates - if dates span year boundary (i.e. from 01/12/09 to 31/01/10) restrict returns only items in latest year (i.e. only items in 01/10). if year boundary is not spanned - no problem exists -- Esther
Sue Mosher [MVP...0/3 19 May 2010
I'm trying to automate sending an email to a distribution list in Outlook 2003 using C#. I have a DistListItem object and I'd like to somehow add that to the BCC field of a MailItem object. Is this possible without adding each Member of the distribution list individually? What I’m trying to do would be similar to right clicking a contact/distribution list and selecting “New
ep0/1 17 May 2010
I'm trying to automate sending an email to a distribution list in Outlook 2003 using C#. I have a DistListItem object and I'd like to somehow add that to the BCC field of a MailItem object. Is this possible without adding each Member of the distribution list individually? What I’m trying to do would be similar to right clicking a contact/distribution list and selecting “New
rico0/1 12 May 2010
Hello, we have email accounts NOT on Exchange server but we are using MS Outlook 2007 as mail client. When we send email "on behalf of" another email account (using From: field), the recipient receives the mail in order showing the "on behalf of". however in our Sent Items mailbox it doesn't. It only shows the sender's email address. How can we setup to display the complete "on behalf of"
Ken Slovak - [M...0/5 05 May 2010
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Office.Interop.Outlook; namespace PrintContacts { class Program { static void Main(string[] args) { Application outlook = new Application(); NameSpace ns = outlook.GetNamespace("MAPI"); MAPIFolder cf = ns.GetDefaultFolder(OlDefaultFolders.olFolderContacts);
Sue Mosher [MVP...0/2 13 Apr 2010
http://msdn.microsoft.com/en-us/library/aa220124%28v=office.11%29.aspx should answer my question but what is meant by "Profile" ? I've tried various guess for profile but can't come up with it. I am using exchange server. Other than the Logon box popping up my application works fine.
Ken Slovak - [M...0/6 01 Apr 2010
Hi experts, I am trying to change the default Outlook account but it seems to be readonly for new mail messages... Does somebody know the solution? My code (Visual FoxPro): oOutlook = CREATEOBJECT("Outlook.Application") oNamespace = oOutlook.GetNameSpace("MAPI") oNamespace.Logon() loItem = oOutlook.CreateItem(0) loitem.To = 'some@email.com' loitem.Body = "BODY" *-- Here is the
Ken Slovak - [M...0/4 30 Mar 2010
Hi, if I have the reference to an inspector, is it possible from there to access its form region? (Outlook 2007, COM Addin, c#) Thanks Tom
Ken Slovak - [M...0/5 30 Mar 2010
Hi, I studied the OutlookRibbonXCS example but don't understand everything completely. Looking at public bool ColorWidgetsGroup_GetVisible(Office.IRibbonControl control) { Debug.WriteLine("ColorWidgetsGroup_GetVisible"); OutlookInspector window = FindOutlookInspector(control.Context); if (window != null) {
Ken Slovak - [M...0/4 15 Mar 2010
I am trying to use Access to automate the sending of a number of messages.I have the following code (stolen from MS KB161088 and modified) which fails with error code -1594867707 (a0f04005) when executing the .Send method. Googling the hex error gave zero results and Googling the decimal error yielded runtime errors with differing numbers, none of which were relevant. Clicking on Help
Ken Slovak - [M...0/4 11 Mar 2010
Hi, I need to block incoming emails (basically SendAndReceive operation) in Outlook for a specified duration(say 1 minute). I need to do this programmatically in C#/C++. Please help me.. Thanks in advance Unni
Unni0/3 10 Mar 2010
Hi, I need to create or modify the Outlook .Nk2 file using C#. Help or documentation regarding the same is insufficient. Please help me. Thanks in advance! Unni
Ken Slovak - [M...0/2 03 Mar 2010
Is there any way to detect when outlook crashes while I'm connected to it? I have a program which checks my hotmail account by using outlook connector to read my emails in outlook, then I programmatically hit send/receive every 15 seconds and check my email count every second. I don't know if it's because of how often I hit send/receive or how often I check my email count, or if it's
Brian Tillman [...0/9 12 Feb 2010
Hello, I have a strange behavior when retrieving items from public folders. I use Java and Comfyj to connect to Outlook. It uses the Outlook Object Model. What I have done so far. 1) Connecting to Outlook and retrieving all folder and items in a folder. 2) Saving the EntryID and StoreID of the items (mails, tasks, etc.) 3) Trying to display an item that is NOT in a public folder
jonathan romero0/1 05 Feb 2010
Hi, i have one a problem, i am develop a application who read a mail from Exchange Server. my application using Primary Interop Assemblies (PIA) for connect with Exchange Server to simulate a Outlook. in this moment i can read all mail but when a read a mail with Digital ID my application send a exeption and do not achieve download he attachment. i put my code. if someone can help
Michael Baker0/3 01 Feb 2010
I have a website folder in Outlook with a few sub-folders to specific websites (3). On two of the websites that I'm pointing to, when I click on it, I get a series of Internet Explorer Script Errors that I need to click through in order to display the webpage. Heaven forbid I click on a link on that site. I know in IE, I can tell it to ignore script errors, but I don't see where I
Ken Slovak - [M...0/27 06 Jan 2010
In building an Outlook integration, I try to exit Outlook this way: Marshal.ReleaseComObject(objOutlook) objOutlook = Nothing Before I did this, sometimes this code would not execute, and Outlook would then get a bit messed up. I would have to load Outlook and wait for it to repair and/or shut down Outlook in the Task Manager. I don't want this ever to happen to a
Miguel Santos0/4 05 Jan 2010
Is it possible to safely access Outlook data via Outlook PIA's in a C# windows application using multi-threading? I am aware that the documentation for MAPI (http://msdn.microsoft.com/ en-us/library/cc963760.aspx) states that the Outlook Object model is not suitable for multithreaded code. I have sample code that works on my local machine, however, what are the possible consequences
Alan Alan0/1 03 Jan 2010
Hello, sorry to disturb it s my first time interacting with Outlook and i really need help. I m creating a pdf report when a mail is send with outlook. I have some code in C# and everything works fine with Outlook 2007. I m using the 2003 Outlook dll. My problem is when a client have Outlook 2003 installed the message is sent but the mail window stays open. this problem started when i added
Ken Slovak - [M...0/4 28 Dec 2009
Using, dotnet, I am importing emails to just load into a datatable. The one type of email I am not sure how to handle better is an email that has a digital signature, and in Outlook, the digital signature is not verified. I found this out when trying to import 5000 emails into a database, and it happened to hit this one. I have the following line of code: MailBody = objMailItem.Body
Ken Slovak - [M...0/2 28 Dec 2009
I read that if just using standalone Outlook that the EntryID may change if the user moves an email to another folder. So how do we have a unique key on an email?
Rajk0/5 22 Dec 2009
Hi Folks, My server supports TLS but Outlook 2003 only give me a checkbox for "SSL" -- which is close, but not quite the same thing. As a result, the server logs show only confusion when I select this option. On the other hand, if I clear this SSL option, then I can see the successful initial negotiation but authentication fails because on a non-encrypted channel, the server only
Ken Slovak - [M...0/12 14 Dec 2009
Hi, a strange behaviour. I Developed a Custom Task Pane and want to be it visible when the user moves to a certain folder. This works fine: private void InitGlobalEvents() { Application.ActiveExplorer().BeforeFolderSwitch += new Microsoft.Office.Interop.Outlook.ExplorerEvents_10_BeforeFolderSwitchEventHandler(Explorer_BeforeFolderSwitch); } Here is the handler:
escamoteur0/4 10 Dec 2009
Hi, I just added a CustomTaskPane to my Exlorer window (Outlook 2007, COM Addin C#) It works, but it strechtes ober the whole witdh of Outlook and not only below the Explorer View as the standard preview pane. Is it possible to make the CustomPane look like a preview pane? Like it's now it just takes too much space. I just watched a video showing how to use a FormRegion to replace
Sue Mosher [MVP...0/2 01 Dec 2009
hi guys, I am working on a windows service in which i'm trying to automate outlook to send emails periodically based on some criteria. I developed and tested the code in a console application first and it worked fine. But when i migrated from console to windows service it started misbehaving. Its giving various exception as: 1) Here is the exception that I get when
oldprogrammer12...0/1 16 Nov 2009
I am writing a utility which is supposed to monitor my junk folder. Each time a new email comes into the junk folder it gets the email address of the sender and checks to see if it is in my customer database. Then it checks the domain of the email address to see if it is in a list of domains that I care about and lastly it checks the subject to see if it a topic I would be interested
Chris Miller0/5 08 Nov 2009
I'm running Outlook 2003 (SP3). The server is offering "250 - STARTTLS" and Outlook 2003 has a checkbox "This server requires an encrypted connection (SSL)" We all know that SSLV3 is approximately TLSV1 but "approximately" in the encryption world in never close enough. Can Outlook 2003 participate in TLS? If so, what do I need to do to make this work? Please notice that
Chris Miller0/5 07 Nov 2009
Hi Folks, I'm running Outlook 2003 (SP3). Outlook is not recognizing the SMTP greeting from the mail server and as a result terminates the connection without doing anything. I have tried all combinations of: PORT: 25, 587 AUTHENTICATION: Required, Optional (Plain Text, NTLM, GSSAPI) ENCRYPTION: Required, Optional (TLS - Self-signed Certificates) None
escamoteur0/4 02 Nov 2009
Hi, I have my first .net Outlook Add-In (Beta) finished and it runs great on my machine. I wanted to give it some friends for testing but it fails to run. It reports a COM-Error when trying to activate it. So it get's installed correctly, all registry settings are there. I guess it's a missing COM object or wrong version of the .net framework. How can I figure out what the problem is?
Ken Slovak - [M...0/4 21 Oct 2009
Hi, I'm creating an Outlook Mail using the following piece of code (C#): // Creates a new Outlook Application Instance Outlook.Application outlook = new Outlook.Application(); // Creating a new Outlook Message from the Outlook Application Instance Outlook.MailItem mic = (Outlook.MailItem)(outlook.CreateItem(Outlook.OlItemType.olMailItem)); // Assigns the "TO" mic.To = "abc@abc.
Brian Tillman [...0/2 20 Oct 2009
I am trying to change the reply signature in Outlook 2003. Everytime I try I get the ""C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\PROGRA~1\MICROS~2\Office12\MLCFG32.CPL",@0" I have copied my original Profile and then selected that profile as the default but I still have the same issues and changing the reply sig crashes outlook again. Any ideas??
nok0/1 15 Oct 2009
I have .msg files stored in a database. IIS takes the data, sets the content-type=application/vnd.ms-outlook and writes it to the client IE. In IE I get a Save dialog. Saving the file and renming it xxx.msg makes it open in Outlook when clicked. I expected IE to hand the data over to Outlook directly. Does anyone know how to fix this? BTW I cant find application/vnd.ms-outlook
Ken Slovak - [M...0/6 28 Sep 2009
Hi All, I want to check programatically wether Exchange server is disconnected with Outlook or not.If i am using offline property of Namespace object it is working only if user is working offline its not working if user is disconnected from exchange server. Please suggest me how can I find out Exchange is disconnected or not with outlook. Thanks in advance.
Ken Slovak - [M...0/2 16 Sep 2009
Hi All Any one tell me how to create IMAP account by adding registry . Thanks in Advance.
Ken Slovak - [M...0/4 15 Sep 2009
Hi All I want to programmatically Add new Send/Receive group in Outlook and modify the setting for existing groups. Thanks in advance
Sue Mosher [MVP...0/2 12 Sep 2009
Hi, I already have Programming Applications for Microsoft Office Outlook 2007 by Rany Byrne And it helped me a lot, but still has some gaps to be filled. How doe these books compare to it? -Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators (Sue Mosher) -Professional Outlook 2007 Programming by Ken Slovak Thanks Tom
Dmitry Streblec...0/12 10 Sep 2009
Hi, I'm programming my Addin for Outlook2007. After running against several restrictions I know think about switching to Redemption and RDO, but it seems that it's a oneway road. If I doo I have completely to switch as it seems like RDO Objects cannot be casted to Outlook Object Model objects. What are your experiences?? Best Tom
escamoteur0/2 01 Sep 2009
Here's the other method: Use the third-party Outlook Redemption library from http://www.dimastr.com/redemption. It exposes this information as the RDOUserProperty.Required property (Boolean). -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Sue Mosher
Sue Mosher [MVP...0/8 01 Sep 2009
Hi, I have a custom form region in Outlook 2007 defined. It worked fine as long as I only used Custom Fields bound to my controls. Now I decided to use the "Subject" Field on the form. Since then. When I create a new item and choose "Save and Close" I get an error message that "one field on the form requires a value" although I have entered a value into the Subject Control. I really have
Dmitry Streblec...0/4 28 Aug 2009
Hi, in the Default Store it's easy to access the "Deleted Items Folder" with GetDefaultFolder. But how can I access the "Deleted Items Folder" of any other store?? I don't wan't to use the folder's name as this would make it impossible to localize the add-in. Best Tom
escamoteur0/3 28 Aug 2009
Hi, I want to offer the user a Calendar Explorer to pick a date. As long as this explorer is open he should not be able to switch to another explorer. Is it possible to make this explorer modal OR to hide all other active explorers as long as this explorer is used?? Best Tom
Ken Slovak - [M...0/8 25 Aug 2009
This is a multi-part message in MIME format. ------=_NextPart_000_0045_01CA2282.45B4CC50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm trying to go through all contacts, and compare them to all other = contacts, to see if they are similar etc etc. I seems to exceeds the limit of approx 255 open com objects, and I can't =