ThreadLast AuthorMessages
read/total
Date
Automatically sending and tracking encrypted e-mails. How?
Ken Slovak - [MVP - O...
0 / 6 25 Apr
If you are using Outlook 2007 you can use the new PropertyAccessor object to access those MAPI properties. The use of PropertyAccessor is covered in the Help for the Object Browser in Outlook 2007. If you are using an earlier version of Outlook there is no PropertyAccessor or any other way of accessing those properties using the Outlook object model. You have to use an alternate API....
Folder Custom View
Sue Mosher [MVP-Outlook]
0 / 7 23 Apr
Is customPropFolder a valid Folder object? What does RegisterFolderHomepage.RegisterType do? It needs to return the URL string for the folder home page you want to show. If you don't want to show the list of items in the folder at all, then don't use an Outlook View Control on your folder home page. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming:...
Handling of Double or Single Quotation Marks in ConversationTo
PGS123
0 / 7 23 Apr
Hi Ken, It's ok. Thanks for your help thus far. Robin "Ken Slovak - [MVP - Outlook]" wrote: > I wasn't suggesting trying to change the read-only ConversationTopic > property. I was suggesting trying massaging the EmailSubject variable that > way. Other than that I have no other suggestions. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author:...
Folder name search possible, Redemption or OOM?
Sue Mosher [MVP-Outlook]
0 / 2 22 Apr
The code sample at http://www.outlookcode.com/codedetail.aspx?id=492 searches for a folder by name. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Mike" <Mike@discussions.microsoft.com> wrote in message...
Access to MailItem properties before opening new inspector ?
Sue Mosher [MVP-Outlook]
0 / 8 22 Apr
You're using the Find/Restrict format for the search filter string, but AdvancedSearch requires the DASL syntax; see http://www.outlookcode.com/news.aspx?id=30. Also, if you're searching only default folders, I don't think you need the full path in the scope string, so a string like this should work: "'Sent Items','Inbox', 'Deleted Items'" -- Sue Mosher, Outlook MVP Author...
How to disable the Act! 2007 add-in for Outlook 2003.
Brcobrem
0 / 1 21 Apr
Ref: Use Word as your email editor Hi, Please allow me to post this here as a service to others. I just visited Sage Software's discussion forum and I see that they have removed all discussions prior to 1/29/08. Very handy for them I suppose. What follows is an edited discussion that I had with a very competent Microsoft support engineer on this topic. Regards, Brcobrem...
meeting item
Ken Slovak - [MVP - O...
0 / 4 21 Apr
Well, you said you were using Outlook 2003, so why are you using the Outlook 2002 PIA? If you aren't supporting Outlook 2002 use the correct PIA's for Office 2003. If you must use the Outlook 2002 PIA then the Outlook object model won't help you. You'd need to use an API such as CDO 1.21 (security prompts, not supported in managed code) or Extended MAPI (C++ or Delphi only, long...
SelectionChange event in Outlook 2007 calendar
Marcin
0 / 6 21 Apr
With Debug.WriteLine() it seems to be handling it only once, as it should be done. Since all the exceptions are handled ... seems I need to get back to debugging :-( Had a deeper look at SelectionChange event ... what I noticed is that it fires everytime I switch between applications, which messes up my application logic then ... Thanks Ken marcin "Ken Slovak - [MVP -...
Security on the Calendar folder
Sue Mosher [MVP-Outlook]
0 / 4 18 Apr
In Outlook 2007, you can do it with new SharingItem object. The Help toic on Namespace.CreateSharingItem should point you in the right direction. I can't see why a solution that depends on an add-in being installed on each client machine would be considered more flexible than using something like PFDavAdmin or the equivalent in a custom script. -- Sue Mosher, Outlook MVP Author of...
VB 6 COM Add-in for Outlook 2007
Rob Holmes
0 / 15 18 Apr
Many thanks, Ken :) "Ken Slovak - [MVP - Outlook]" wrote: > http://xldennis.wordpress.com/2006/12/22/using-iribbonextensibilitys-type-library-with-com-add-ins/ > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional Programming Outlook 2007 > Reminder Manager, Extended Reminders, Attachment Options > http://www.slovaktech.com/products.htm > >...
Form Region cannot be opened
Ken Slovak - [MVP - O...
0 / 4 18 Apr
There shouldn't be a difference between Office 2007 ultimate and enterprise for what you're doing. I run both here. If you select the addin in the COM Add-Ins dialog in the Trust Center when you try to check it does it show any load errors from mscorlib or any other source? If so it's either a trust issue or a lack of some dependency at least in my experience. There's no way to tell...
Outlook Add-in Code Review
JRomeo
0 / 3 17 Apr
Nice. That's what I was looking for. Thx. -- Tip: Never eat yellow snow. "Ken Slovak - [MVP - Outlook]" wrote: > I see 2 things offhand. > > If you intend to ever support Outlook 2007 you will need to move your UI > creation to the Inspector.Activate() event, in NewInspector() the object > reference passed is a weak object reference and not good for much else other >...
deploy 2003 vsto addin on outlook 2007 problem
Ken Slovak - [MVP - O...
0 / 18 17 Apr
Where is the date picker displayed, is it in a Windows Form? I see it in your button creation code but didn't notice where it's being displayed. When I use a date picker on a Windows Form I don't do anything special when closing the form, I just use form.Close(). The date picker in VS has a Dispose() method, have you tried calling that method on the date picker? -- Ken Slovak [MVP...
Hello World example?
Ken Slovak - [MVP - O...
0 / 2 17 Apr
I don't know of anything specific to what you want but there are lots of sample COM addins for Outlook 20007 out there. Not many using VS2008 though, most are set up for VS2005 but probably can be loaded into VS2008. I have some sample addin templates up at http://www.slovaktech.com/outlook_2007_templates.htm, the Outlook team has sample addins at the Office Developer section at MSDN,...
Prevent Outlook 2007 from closing
Ken Slovak - [MVP - O...
0 / 4 17 Apr
No, I meant Outlook 2007. In that version there's a new event that's perfect for what you want. The new Folder.BeforeItemMove event. The VBA signature is BeforeItemMove(Item As Object, MoveTo As Folder, Cancel As Boolean). The item is the object being moved/deleted, MoveTo is a Folder object if moving the item or null (Nothing) if deleting the item, and setting Cancel = true will...
Disable PropertyPage without disabling entire Com AddIn
Ken Slovak - [MVP - O...
0 / 2 16 Apr
There's nothing like that. What you can do is just not supply the property page information when either NameSpace.OptionsPagesAdd or Application.OptionsPagesAdd fire, depending on where your property page is being displayed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment...
Accessing User Input In Outlook Appointment Form
Taylor
0 / 4 16 Apr
"JRomeo" <JRomeo@discussions.microsoft.com> wrote in message news:5F08E7EE-5438-436B-9A01-60658201CC99@microsoft.com... > Thanks Sue. > > I'm new at this, and I just don't get it. I can't figure out how to add a > control to the Appointment form toolbar. I've successfully created a COM > add-in that adds a button to the Standard toolbar of Outlook. But I want > to > create it for a...
How To Shut Down An Outlook Add-in
JRomeo
0 / 4 15 Apr
Ken, This has been resolved. I implemented a method to handle the Inspector.Close event, where I removed the event handler from the added custom control. That is... /// <summary> /// Handle the Inspector.Close event /// </summary> void closeInspector_Event() { // Drop the Btn_ConfRoomSchdlr event handler Btn_ConfRoomSchdlr.Click -= new Office....
Find Related Messages in Outlook 2003 with VSTO 2005 C#
PGS123
0 / 2 15 Apr
Hi Ken, Got it. Thanks very much for your tips. Robin "Ken Slovak - [MVP - Outlook]" wrote: > It would be much faster to use a filter or restriction on the Items > collection of that folder using Subject as the filter condition. Review the > help in the Outlook VBA Object Browser for Items.Restrict, it shows how to > construct a restriction on various Outlook properties. The...
Duplicate Outlook Add-in Control With Every Build
JRomeo
0 / 5 15 Apr
Yep, did the trick. Thx. -- Tip: Never eat yellow snow. "SvenC" wrote: > HI JRomeo, > > > I'm not sure. I'm new at this. Here's my .cs code: > >... > > // Add the control > > Office.CommandBarButton Btn_ConfRoomSchdlr = > > (Office.CommandBarButton)stdBar.Controls.Add(1, missing, missing, > > missing, missing); > > The last param...
VSTO add-in for OL 2003 and 2007
Ken Slovak - [MVP - O...
0 / 3 15 Apr
Both VSTO and shared, shimmed addins are managed code and can be written in C#. It's much harder if not impossible to support both Outlook 2003 and 2007 in a VSTO addin unless you decide not to support the ribbon in Outlook 2007. There are workarounds for using the ribbon in shared addins even when compiled as Outlook 2003 addins. If using managed code and a shared addin you...
Folder Delete issue
Ken Slovak - [MVP - O...
0 / 2 15 Apr
The Outlook object model has no "hard delete" method. You can monitor the Deleted Items folder and also handle the ItemAdd event on the Items collection of the Deleted Items folder and use code to delete items and folders from Deleted Items. If you were to use Redemption (www.dimastr.com/redemption) you could use its hard delete flag when you delete the folders. You can't use CDO 1....
Question about extended mapi being deemphasized
Ken Slovak - [MVP - O...
0 / 7 15 Apr
Outlook is entirely MAPI based, it would have to be rewritten from scratch to not use MAPI. Same for Exchange server. ECE's aren't going to be supported for Outlook in the future, but you still will be able to write COM addins using Extended MAPI. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended...
OL 2003 custom toolbar in OL 2007
goran
0 / 5 15 Apr
thanks "Ken Slovak - [MVP - Outlook]" wrote: > Not that I know of. You really should use the ribbon and ribbon controls for > when Outlook 2007 is running, but I'm less than satisfied with the combo > available in the ribbon. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional Programming Outlook 2007 > Reminder Manager, Extended Reminders,...
Folder WebViewURL
Neetu
0 / 6 15 Apr
It got resolved. I set <%@ OutputCache Duration="1" Location="Client" VaryByParam="none" %> at my aspx page Thanks for guidance. "SvenC" wrote: > Hi Neetu, > > I m catching Explorer.BeforeFolderSwitch event and Set WebViewOn > > property. > > > > however still , when i m navigating from one folder to another same > > 1st state is > > visible at internet explorer of...
Outlook add-ins - Error accessing Clipboard
Dilum
0 / 5 14 Apr
Hi Ken, I got through it. Thank you very much for your help. I appreciate it very much. Thank you Dilum "Ken Slovak - [MVP - Outlook]" wrote: > Well, I can't post the entire clipboard code I use since it consists of 4 > different classes. I did google for clipboard and c# and found a number of > usable code samples however. > > To enumerate the formats you'd do...
Converation Tracking
Koen Verwimp
0 / 5 14 Apr
Hey Ken, Redemption solved the problem ! Thanks for helping! grtz Koen "Ken Slovak - [MVP - Outlook]" wrote: > I said it was read-only using the Outlook object model. > > I'd guess it was read-only even if you use the PropertyAccessor object in > Outlook 2007 to try to set the property using the DASL property tag > "http://schemas.microsoft.com/mapi/proptag/0x0070001E". >...
Adding RSS Feeds to Outlook Today Screen
Ken Slovak - [MVP - O...
0 / 2 14 Apr
Not unless you write a custom Outlook Today page from scratch, no. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Michael Andrus" <minya.andrus@gmail.com> wrote in message news:6076DF3C-5AFE-475D-9933-B4D78E342129@microsoft.com.....
VSTO Add-Ins becoming acting inactive while computer is locked
Carl
0 / 1 11 Apr
I have developed a VSTO Add-In that reroutes incoming email into a folders based on the new email's subject line, body, etc. The appropriate events seem to fire without a problem while I am actively working on my machine, but when I lock the workstation overnight, the Add-In stops managing the email properly. Can anyone offer some insight into this issue of mine? Thanks...
bringing datepicker to the top
lokesh
0 / 2 11 Apr
Sorry for posting it here "lokesh" wrote: > Have created a form containing the datepicker as part of my toolbar(VSTO , > O2003 ,C#). It had the problem of opening in the background instead of the > foreground. Is there any solution . Have used the > form.showdialog(activeInspectorHandle) but does not solve my problem. > > To overcome this used form.topmost which is creating a...
RDOSession.CurrentUser.Name, AD or Exchange property?
SvenC
0 / 5 11 Apr
Hi Dmitry, >> Thanks Dmitry. Any idea which objects RDOSession.CurrentUser.Name >> would point to? > > I am not sure I understand. One of the AD user objects? I guess Mike wants to know which attribute of the user object is read to fill the Name property. Could be cn (common name), mailNickname (alias), name or even sSAMAccountName. @Mike You could set up a new user object and...
Iterate through folder items using Redemption
Dmitry Streblechenko
0 / 4 10 Apr
You woudl needto move the items one item at a time. Use a down loop and move items one by one: for i= Items.Count to 1 step -1 Msg = Items.Item(i) Msg.Move(SomeTargetFolder) next -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Mike" <Mike@discussions.microsoft.com> wrote in message...
Ical in outlook
Mauro Batista
0 / 2 10 Apr
Sorry, i was not sure where should i post! "Ken Slovak - [MVP - Outlook]" wrote: > Answered in another group. Do not multipost. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional Programming Outlook 2007 > Reminder Manager, Extended Reminders, Attachment Options > http://www.slovaktech.com/products.htm > > > "Mauro Batista"...
Is there a 'Post send' event for an email
Ken Slovak - [MVP - O...
0 / 5 10 Apr
WordMail is weird and wonderful and a royal PITA. For use with WordMail I iterate the CommandBars collection looking for my CommandBar and then re-instantiating the button object to be able to change State. Your existing button object will fire Click() for example but even in that event handler trying to change State will fire an exception. You must re-instantiate the button from the...
The operation cannot be performed
Ken Slovak - [MVP - O...
0 / 7 10 Apr
It may be expensive in time but that's what you have to do. In managed code there is no way to know when a COM object you dispose of will actually be garbage collected unless you use GC.Collect() and even sometimes using WaitForPendingFinalizers() after that. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager,...
Changing Content-Type of MailItem
CuSo4
0 / 5 09 Apr
Thanks for the insight! Actually, as I wanted to keep it in c#, I implemented an smtp proxy that does the job. "Dmitry Streblechenko" wrote: > If you need to be able to control the MIME structure of the outgoing > message, you need to implement a transport provider thaat explciitly > converst a MAPI message to a MIME message. > In some cases (e.g. when a message is sent between...
Re: Iterate through folder items using Redemption
Ken Slovak - [MVP - O...
0 / 3 09 Apr
You found RDOMail. For your other question, you hadn't mentioned moving things. For that you need the actual objects and to call the Move function on each in turn. You can't use a MAPITable for that, it's a read-only table with properties, not a collection of objects. If you are moving then don't use a ForEach loop or a count up For loop. You will be removing items from the...
Invalidate control in Ribbon
goran
0 / 5 08 Apr
Thank you Ken. "Ken Slovak - [MVP - Outlook]" wrote: > That's correct. So any change made to the dynamic content would affect every > open Inspector and every one opened after that. That's a ribbon limitation > that wasn't very well thought out despite our bugs and complaints during the > beta. > > Not much you can do about that really with a combobox control. I try to > avoid...
Web page in Outlook window
Sue Mosher [MVP-Outlook]
0 / 6 07 Apr
If you look up the FindControl method in Outlook developer help, you'd see that those are parameters that specify the type and ID of a control. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "satishsuman" <satishsuman@discussions.microsoft.com> wrote in...
575 bloqueador veicular sem mensalidades -http://bloqueadorgsm.vilabol.uol.co...
bloqueador sem mensal...
0 / 1 04 Apr
...
Determine where the user clicked on the calendar
morna
0 / 1 04 Apr
I have written a VSTO Outlook addin in VS2008 using Outlook 2007. I need to catch the "click" event for the date that a user has clicked upon on the screen. Does anyone know which even on which object (ActiveExplorer ???) that I need to catch in order to know the date that a user has selected from the currently displayed calendar? Thanks for your time. -Morna...
Changing the "Category" property on an Outlook.Appointment Item
morna
0 / 1 04 Apr
I have written a VSTO Outlook addin in VS2008. I can catch the Outlook.Appointment item within the ThisAddin.Item_Add event. I set the category of each item to an Outlook define category type. The category is saved correctly to the Outlook.Appointment item, however, at this point the Outlook.Appointment item has already been displayed within the Outlook Calendar, which mean the color of...
Talking to Outlook 2007 from SharePoint
Sue Mosher [MVP-Outlook]
0 / 2 04 Apr
Outlook has no web services, but Exchange 2007 does. Exchange documentation starts at http://msdn.microsoft.com/exchange/ with discussions in the microsoft.public.exchange.development newsgroup or on the Web at http://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=838&SiteID=17 . -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power...
Sending personalized invitations
regain
0 / 1 04 Apr
Hi all, We are facing the following problem: we try to send personalized invitations for a meeting. Each participant will receive an invitation with their own identification code. Unfortunately, we saw that Outlook does not offer this feature. So we try to circumvent it in the ItemSend event by: 1. creating a MailMessage object in the vcalendar format and sending it to each attendee...
New Mail Item Event
Neetu
0 / 6 04 Apr
Hey Ken, thanks a lot. "Ken Slovak - [MVP - Outlook]" wrote: > Sure. In Outlook 2007 you have a couple of things you can check: > > NameSpace.ExchangeConnectionMode > NameSpace.Offline > > Review the Object Browser help on those properties. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional Programming Outlook 2007 > Reminder Manager,...
script of custom form for shared calender doesn't run
sd
0 / 4 04 Apr
Thanks sue & Ken. script runs now....
IDTExtensibility2 based addin Will Not Unload if System.Timer
Ken Slovak - [MVP - O...
0 / 4 03 Apr
You can use ActiveInspector, but first check if Inspectors.Count > 0. It's because Outlook itself expects all calls from in-process applications (addins) to be running on the main thread and doesn't handle it well when calls to the object model aren't running on that thread. An example of doing that were earlier versions of the Apple ITunes calendar synch addin that called in on a...
VSTO and Outlook Event
Ken Slovak - [MVP - O...
0 / 2 03 Apr
You do it exactly the same way in VB.NET in a VSTO addin, you just use the Startup() event handler to initialize things. Make sure your declarations are at a class level and not at a procedural level so the objects don't go out of scope. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders,...
Disable button from addins Outlook 2007
Andrey_R
0 / 3 02 Apr
Thanks you very much....
Change the MiniIcon in a message
Sue Mosher [MVP-Outlook]
0 / 22 01 Apr
No. As I already explained in my earlier post, you would need to create a published custom form or register a form region, but form regions are for Outlook 2007 only. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "j" <Evgeny.Br@gmail.com> wrote in...
All times are in (US) Eastern Daylight Time (GMT -4:00)