|
Cancelling and closing a mailitem in itemsend event
I have seen posts and have also experienced first hand that there can be many
complications to making modifications to a mailitems subject, body and
attachments during an itemsend event. Is the proper method to make a copy of
the mailitem in itemsend, make mods to the copy and then send the copy? And
if so, how do you close and delete the original message? I am able to delete
it with ...
|
2 |
6/19/2007 4:53:14 AM |
|
popups and/or Audio
Folks:
I am using Outlook Express 6.0 and whenever I receive email from a certain
source I would like to have popup windows appear on screen and/or
make some distinct audio noise like a ringing phone. Can this actually be
done ?
* Is there some add-on or plug-in that would help me achieve this goal ?
Thanks in advance
Jo.
...
|
2 |
6/19/2007 1:04:12 AM |
|
Creating a command bar on an Inspector
I am trying to create a command bar in the NewInspector event. The code
seems to be working fine on Office 2003 and 2007 but throws an exception in
Office XP when I access the CommandBars.Add function. Any ideas why?
Other things I am noticing are
- CommandBar.FindControl always seems to return null.
- Under office xp, adding controls to an already existing command bar (such
as St...
|
6 |
6/15/2007 1:52:25 PM |
|
How to provide Hyperlink in commandbarcontrols in Outlook Inspecto
Hi,
We have added a CommandBar and CommandBarControls in certain outlook
Inspectors like Appointment.
(q1) Is it possible to have hyperlinks in commandbarcontrols just like
Outlook - Contacts ( which uses Links).
the only thing is that in our case the object is our own and we have a
outlook-form for it. Semi-colon separated values are there in this
CommandBarComboBox (type is mso...
|
1 |
6/15/2007 1:08:00 AM |
|
Ping Ms. Mosher: How to tell if an AppointmentItem is master or not
In a com add-in, is there a way to programatically test whether an
appointmentItem object is a series master, or just an occurrence in
the series? I found that the IsRecurring property is True, whether or
not the item is the master. And I don't see anything like an IsMaster
or IsOccurrence property.
Is there a way to do this?
Thanks,
John
...
|
3 |
6/13/2007 5:17:54 PM |
|
button not firing when word is set as MailEditor.
Hi all
this is a much discussed problem, i m trying to use an outlook addin
which creates a button to the newInspector on clik of which some form
is opend.
it works fine for me when use all the other editors.. except word.
i ve seen Ken's post n other which suggest me to use Word Object
model. but i dont get how exactly should i do it.
here is my code in newInspector event :
...
|
2 |
6/13/2007 2:19:57 PM |
|
OnItemSend cancel problem
I've written an Outlook add-in in VS.net 2005, which when a user sends
an email it pops up a custom dialog. There are several buttons on the
form, one of which is a cancel button. If the user pushes the cancel
button then the dialog closes and it should cancel sending the email
(i.e., present them back to their message). The way I am doing this is
by setting the cancel variable (passed in ByR...
|
3 |
6/13/2007 9:08:33 AM |
|
C# and New Inspector event
Does anyone have code to capture the new inspector event from c# using late
binding? I need to be able to capture this event in an Office version
neutral way.
I put some code together but it fails on the advise method with an invalid
cast exception.
Guid guid = new Guid("{000????-0000-0000-C000-000000000046}");
UCOMIConnectionPointContainer oCPP = (UCOMIConnectionPointContainer)app;
...
|
11 |
6/12/2007 6:30:02 PM |
|
Setting the Icon for a msoControlPopup
I'm trying to setup a toolbar drop down button, something similar to
the 'new' button. Everything is in place, except that I can't set an
icon for it. There must be a way, after all the new button has an
icon.
After calling 'add' to add it to the main toolbar, the Returned
control (CommandBarControl) doesn't have any direct methods for
PutFace or PutPicture. For normal buttons, I can just ...
|
4 |
6/11/2007 11:52:57 AM |
|
C# or C++ Addin
Hi
We've been developing Outlook components for several years. These include
Exchange client extensions, COM Add-ins and Service Providers, all written
in C++. In line with Microsoft our client extensions have virtually
disappeared, and most code is now in the COM Add-in; but with having to
support Outlook 2007, is now the time to move over to C#?
Looking at Outlook 2007 and all of...
|
2 |
6/8/2007 5:06:34 PM |
|
CreateItem change for Outlook 2007? E_NOINTERFACE for returned objects.
I'm writing a simple C++/ATL program that is interacting w/ the
Outlook object model. There seems to be some odd change to
Application.CreateItem for Outlook 2007. Here are my simple lines of
code:
Outlook::_ApplicationPtr spApplication;
Outlook::_MailItemPtr spMailItem;
HRESULT hr =
spApplication.CreateInstance(__uuidof(Outlook::Application));
if (FAILED(hr))
return;
spMailIt...
|
4 |
6/7/2007 11:29:42 PM |
|
Saving the mail in sent items without actually sending the mail.
Hi all
i would like to save a copy of a dummy mail which i create in code to
the SentItems folder. i dont want to actually send it. i saw it
working in the LinkedIn Toolbar for outlook while sending invitations
to contacts. They dont sent the mail using outlook rather some web
service but they manage to save a copy into sent items folder. How do
i reproduce something like this. Any sampl...
|
3 |
6/7/2007 8:25:47 PM |
|
Custom control like the outlook address field
Hi,
I have a custom form in my Outlook 2003 Add-in, and I would like to use an
Autocomplete Textbox like the address field of Outlook. Does anyone know any
example of writing a custom control that works like the address field (C# or
VB.NET).
AutoComplete for several AddressEntry objects
Adding of individual AddressEntry Objects to a textbox...
|
1 |
6/7/2007 9:03:00 AM |
|
Sent and File
I would like to be able when I send an email to have a screen asking me
where I want to file the email, I would like to have it not necessarely in
the sent item folder.
I use Outlook 2003.
Thanks in advance
...
|
2 |
6/6/2007 2:59:46 PM |
|
Aximp.exe
I created a com add-in for outlook 2003 in vs.net 2003 c#.
if I calling
stdole.IPictureDisp Pic =
MatarotHost.ImageToIPicture(Image.FromStream(imgStreamPic));
And I don't have a vs.net installed in a computer:
I don't get errors, but I can't see the button add-in
The add-in not arrive to this part of the code
OnStartupComplete()
else - everything running OK!
Thanking you in anticipatio...
|
2 |
6/6/2007 7:40:01 AM |
|
Associate and view an email to a external program and db
Hello,
I have an external application in sQL server 2005 (VS2005), I must create a
reference beetween one record (eg. Customer anagraphic) and all
email recived to it in outlook, there is a simple system to do that, eg. in
a record add a GUID of email (if tthere is)?
NOTE. email in outlook can be in all folder.
ps. sorry for my english.
Best Regards
Andrea...
|
2 |
6/5/2007 10:45:21 PM |
|
Strange COM error
Hi
I posted a quesiton earlier, but it hasn't showed up in over an hour, so
I'll post again, this time with more info.
So I'm tring to access the Outlook 2003 Address book from VB.net (using
VS.net 2005). I get the list open just fine using a call to
objSession.AddressBook( ). However, once a name is selected, I get an error
that reads:
"Unable to cast COM object of type 'Sys...
|
2 |
6/5/2007 10:29:16 PM |
|
Exception thrown on MailItem.Send
I am getting an exception thrown with our c# outlook addon installed on one
machine running Office 2003. The exception is thrown when I try to call Send
on a mail item that I have programatically created. The code looks like this:
Note: This code uses late binding.
// -- in the Item_Send event --
MSOutlook.MailItem mi; // assume initialized from the Item_Send argument
// create t...
|
4 |
6/5/2007 2:54:03 PM |
|
How to display Select Contacts dialog
How can I display select contacts dialog in Outlook?
For example, the dialog appears when pressing 'To:' button in new created
mail window.
The language doesn't matter....
|
4 |
6/5/2007 11:31:33 AM |
|
Search email stored in public folder
I have write an application in vs2005 that create dinamicaly a custom search
in search folder of outlook 2007 to view some email, in this situation i
cannot do the same thing for the pubblic folder.
How Can i do that?
best regards
Andrea...
|
2 |
6/4/2007 8:44:21 PM |
|
Setting Icon for the default Mail List display
I have a custom class, and upon OnDelivery, if I find a message of
this class, I set the icon via PR_ICON_INDEX. However, it is not
working. I am simply just giving the id of the icon from resource
file. (How do I setup a proper id?)
If possible, I do not wish to make a custom form, I just simply want
to show the icon, instead of the standard icon the standard mail view
(inbox by default...
|
4 |
6/4/2007 6:40:50 PM |
|
Disable Outlook 2003 right click context menu
Hi,
Is there any way to disable the right click context menu for a folder in
Outlook 2003?
Cheers
Sharanga
...
|
1 |
6/4/2007 10:24:04 AM |
|
Getting custom forms data stored in Exchange from VB.Net
Hi. We have an custom apponitment form, with some text fields in P2. From
VB.Net, we can view the data of the appointment of the general tab, but we
can't access to our custom tab. We think that the problem is that our
custom form tab does not appear in the OWA, and we are accessing to data
from
VB.Net via //exchangeServer/exchange/user/calendar. The question is: there
is any way to acces...
|
1 |
6/4/2007 9:12:56 AM |
|
Copy one sented email in a pubblic folder
Hello, i 've this problem in ootlook 2007 addin (vs2005)
I wont to copy an email in a specific public folder, after that this email
was sent.
I have write the code to a SEND stantment but the copy of the email in
pubblic folder was made before the email was sent and the sender folder was
blank.
How can i do it???
help me please.
andrea...
|
3 |
6/4/2007 8:10:01 AM |
|
vs.net installed and add-in problem
Hi,
I created a com add-in for outlook 2003 in vs.net 2003 c#.
Only if I had an Icon to the button of the outlook commandBtnBar I have
this problem: (if I don't had this class for the button, I don't have this
problem at all).
What is strange: If I have vs.net installed in a computer, everything
running OK!
If I don't have vs.net instaled, I get this problem.
The problem:**************...
|
1 |
6/3/2007 12:17:01 PM |