|
Null Contacts returned from MAPFolder.Items
I'm new to OL programming, am using C#, and am having an issue...
We have a Public Folder that contains a Contacts form with
approximately 5,000 contacts. We want to export this to an Excel
report programmatically.
Using Outlook.MAPIFolder.Folders[MY_FOLDER].Items.Count shows the
correct number of items, but when looping through these items after
about 2,000 they all end up being null...
|
3 |
5/12/2006 7:40:33 PM |
|
VSTO plugin + Distribution List resolution problem..
Hello --
I have a VSTO plugin for Outlook 2003 SP2. It checks the recipients
for each message against a list and issues a warning if there is a
match. If the recipients list contains a Distribution List, it will
resolve all the recipients within that DL and do its validation...
My issues is that outlook will intermittently report the DL recipient
as a "olUser" instead of "olDistList".....
|
7 |
5/12/2006 5:44:05 PM |
|
nameSpace.OptionsPagesAdd
I'm trying to handle the nameSpace.OptionsPagesAdd event to show a custom property page for a
folder. see code below.
Problem may eventhandler is only called the first time i open the option dialog for a folder and
then never again as if my EventHandler has been detached.
What did i miss?
private void ThisApplication_Startup(object sender, System.EventArgs e)
{
...
|
3 |
5/12/2006 2:01:50 PM |
|
Search for contact item with double quotes in Name
Is there any way to search for an Outlook contact item that has double
quotes in there Name/FileAs field ?
The FileAs field has like - Smith, David "Home"
Dim fldrs As Outlook.MAPIFolder
Dim SearchItem As Outlook.ContactItem
' this assignment doesn't work in VB as written, but I'm just trying to
represent the string
' I'm searching for
strSearch = "[FileAs] = "S...
|
3 |
5/11/2006 7:01:40 PM |
|
Exception from HRESULT
Hi,
I have an Outlook Add-In that modifies views. This add-in directly
manipulates the view XML and then saves the view.
On one particular machine, what happens when the add-in tries to save
the view, I get the following exception... again and again....
Exception from HRESULT: 0xAF604005., Exception from HRESULT:
0xBDC04005. and so on...... I seriously do not know what's going wrong
h...
|
2 |
5/11/2006 8:24:42 AM |
|
delete message from a folder every week
Hello,
I'd like to create a add-in for outlook xp 2002 using vba (vb6) which delete
e-mail older than 1 week. Is this possible ? If possible can u please tell
me where to start ?
Thanks in advance.
Nader
...
|
2 |
5/11/2006 4:55:28 AM |
|
Outlook Add-in + Sequence of Events..
I an trying to get a sense of the sequence of events that are fired
while creating and sending a new mail item. I am using Outlook 2003
SP2 + VSTO.
I have an Add-In that has the following events wired up.
Inspector_NewInspector
MailItem_Open
MailItem_Send
MailItem_Close
Inspector_CloseInspector
Here is the scenerio that confuses me. When I create a new mail, add
the recipients, su...
|
7 |
5/10/2006 4:19:08 PM |
|
Embedded Images Stripped By Receiving Clients
I'm embedding images into HTML emails using Redemption and following
the example given here:
http://www.dimastr.com/redemption/
The emails appear to get created and sent fine, but the images get
stripped when received by Outlook Express and get treated as
attachments when received by a Yahoo account. It appears to be part of
the client's virus protection. Does anyone have any idea what...
|
16 |
5/9/2006 6:10:41 PM |
|
Custom Events
What would be the best way to create, raise and handle a custom event from
Outlook? The scenario I have is that my client would like to have two levels
of reminders from an appointment in an Outlook calendar. i can use the
default reminder for one of them, but I'm not exactly sure about the other
reminder.
I am using Outlook 2003, and can write any code in VBA, script, and Visual
Stud...
|
1 |
5/9/2006 3:07:26 PM |
|
add some text into an email automatically
Hi,
I'd like to add some text to the body of an e-mail after the user as click
on the send button. What is the best way to do that.
Thanks in advance.
...
|
11 |
5/9/2006 1:39:27 AM |
|
Error al abrir html adjuntos
Hola a todos, cuando un mensaje de correo tiene como archivo adjunto un
documento html que tiene vinculos a archivos locales en el pc (la etiqueta
en el html es por ejemplo <a
href="file://c:\carpeta\subcarpeta\...\archivo.xls" > archivo.xls </a>)
ocurre que al abrir el mensaje y luego seleccionar el archivo adjunto (el
html) y abrirlo se carga el html en una nueva ventana de...
|
2 |
5/8/2006 3:29:44 PM |
|
Problem getting Incoming Item in my Outlook Addin
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C670B8.3E3EE340
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
It seems there is a bug in an addin i am working on. While retrieving an =
incoming MailItem from outlook using this code:
Outlook::_MailItemPtr spMItem;
hr =3D spItems->raw_GetLast(&pDisp);
spMItem =3...
|
2 |
5/6/2006 5:44:45 PM |
|
Custom calendar: show data from other calendars?
Hi everyone,
I'm interested in creating a calendar that you would click on in
Outlook (it would be in the Public Folders), and then you'd see a
calendar that shows the "Out of Office" status for everyone in the
office. Is there a way to do this? Ideally I'd use the built-in
calendar widget to do this, but I can't find a way to get a calendar to
include information from other calendars.
...
|
14 |
5/6/2006 3:15:37 AM |
|
OL2003 - Notes Add-in?
Hi there
I love OL2003 - But I find the Notes section horrid. I would to be able to
add more structures Notes with tables and able to change font propteries and
add small graphics etc.
Is there an add-in for this?
Glen.
...
|
2 |
5/4/2006 9:40:19 PM |
|
Item_Send Cancel
While in the Item_send Event for an email,
I would like to be able to prevent the email from being sent.
any clues on how to do this without saving and deleting the item?
Thanks,
Rog...
|
4 |
5/3/2006 9:45:49 PM |
|
adding a context menu in Outlook
Hi there,
How can i add a button to the Right-mouse context menu in Outlook?
Thanks
Donald
...
|
7 |
5/3/2006 12:49:40 PM |
|
Cash Program
Hi All
I have got some interresting thing for you .
I Know you have seen this type of advertistment before. But finally
they ask for the tranning materils cost and sign-up fee. Why do you pay
for this kind of thing. SO you do not want to pay anything to join
this program
I m not going to say that you are going to earn 1000$ in a day
You will easily make some amount ( I am earn...
|
1 |
5/3/2006 9:32:42 AM |
|
Launching a webpage inside Outlook programmically
I have searched for the ability to launch a external web page inside of
Outlook, including Sue Mosher's book, but it seems that I can't seem to find
a good example. Can someone be kind enough to point me in the right
direction? What I am trying to do is when a user clicks one of my command
bar buttons an external web page displays in where normally you would see
the email message or tas...
|
4 |
5/2/2006 2:34:14 PM |
|
Outlook Connector for IBM Lotus Domino
I had to re-install my operating system on my office computer running Windows
XP Media Center Edition.
I installed notes 6.5.1 client and configured it.
I installed Office 2003 and all updates (including sp2).
I installed the Microsoft Office Outlook Connector for IBM Lotus Domino.
When I launch Lotus Notes, I can access my mail without a any issues.
When I launch Microsoft Outlook 2003...
|
17 |
5/1/2006 2:38:02 PM |
|
Outlook Express Addin
Hi There,
Can anyone direct me to any information regarding developing addins for
outlook express?
Thanks,
Josh
...
|
1 |
4/30/2006 10:00:34 PM |
|
InvalidCastException after installing VS 2005
Running XP OL2003, VS 2002 pro, I wrote an Outlook Addin.. worked fine.
Did something like: process AppointmentItems based on a Custom Form
(MessageClass= IPM.Appointment.Reservation) in an Outlook calendar folder
named "Reservations" like:
Dim objAppts As Items
Dim objAppt As AppointmentItem
objNS = objApplication.GetNamespace("MAPI")
objAppts =
objNS.GetDefaultFolder(OlDefaultFolders....
|
2 |
4/29/2006 10:45:38 PM |
|
add a command in the form
Hi,
I found that the outlook spy command bar can be put into the appointment
form, contact form, etc.
How to do it? I can only add the coommand bar in the outlook main window
(explorer) from add-in object written in C# or C++.
If the command bar display in appointment form only?
Regards,
Tony
...
|
2 |
4/28/2006 5:43:39 PM |
|
QI to IOleWindow returns E_NOINTERFACE
Hi all,
My add-in requires handle for Outlook main window. For that I have
written one small piece of code as following.
//***************************************************
CComPtr<IOleWindow> olOutlookWindow;
result = m_pHostApp->ActiveExplorer(&pActiveExplorer);
RET_IF_ERROR(L"ActiveExplorer", result)
result = pActiveExplorer->QueryInterface(&olOutlookWindow);
RET_IF_...
|
9 |
4/28/2006 6:51:34 AM |
|
Outlook freezes on Redemption SaveAs
Hi,
I have been using Outlook Redemption for about a year now and it's been
incredibly useful in the development of an add-in for Outlook
2K/XP/2003. I am trying to retrieve the e-mail (well actually, only the
recipients, body and attachments) that is being composed by the user
and export an RFC822 version of it.
For months my code was actually extracting the various parts of the
messag...
|
6 |
4/27/2006 10:46:31 PM |
|
Adding Automatic Reference Number
Is it possible when creating a task request to have an add-on which
provides a unique reference and enters it into the task?
Thanks
...
|
5 |
4/27/2006 8:12:19 PM |