ThreadLast AuthorMessages
read/total
Date
Newbie Questions
Ken Slovak - [MVP - O...
0 / 2 22 Feb
You can handle the NewInspector event of the Inspectors collection to see when an item is being opened. In that event handler you get a weak object reference to the Inspector's CurrentItem that can be used to check the Class property to see if it's a type of item you want to handle. You can then cache a wrapper class that handles Inspectors in a list or collection to keep that class...
re-enabling a COM add-in that has been soft disabled
Ken Slovak - [MVP - O...
0 / 2 22 Feb
The only way to directly edit LoadBehavior is by writing to the registry. If the COM addin is a member of the COMAddIns collection then you an iterate that collection and set the Connect bit to connect the addin. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www....
Trying to hide inline attachments
krach.aran@gmail.com
0 / 5 21 Feb
This worked for me (don't mid the sloppy code.... cleaners are on their way ;) ): public static bool IsValidAttachment(Outlook.MailItem mailitem, Outlook.Attachment attachment) { bool retval = false; string CID = ""; try { if (attachment.FileName != "") { // this...
Refresh mailitem
Ken Slovak - [MVP - O...
0 / 4 19 Feb
You can't without side effects, for example changing ActiveExplorer.CurrentFolder to some other folder and then back again. -- 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 "Ivica Muruzovic" <kvin@eunet.yu> wrote in message...
Opening a .msg file in OL via shellext vs importing
Mark J. McGinty
0 / 3 18 Feb
Awesome, that's exactly what I needed -- thanks again! -Mark "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:eeFMjpYcIHA.6080@TK2MSFTNGP05.phx.gbl... > See below > > Dmitry Streblechenko (MVP) > http://www.dimastr.com/ > OutlookSpy - Outlook, CDO > and MAPI Developer Tool > > "Mark J. McGinty" <mmcginty@spamfromyou.com> wrote in message >...
Need Help with Custom Outlook Calendar
Al
0 / 1 18 Feb
Is there any way of making a copy of this winform\calendar (Scheduling window) so that I can change how it looks and behaves? <a href='http://bildr.no/view/157769'>http://bildr.no/view/157769</a>...
problem with publish custom Post form
shubhangi
0 / 7 18 Feb
Thanks Ken I supplied the folder argument to publishForm() & now it worked "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:uxZ$x5xbIHA.4712@TK2MSFTNGP05.phx.gbl... > 1. Correct, get the control and call Execute on it. The ID for that > control as shown by OutlookSpy is 3273. > > 2. Your code isn't displaying the select folders dialog when you publish >...
How to edit existing categories in OL2007
Ken Slovak - [MVP - O...
0 / 3 18 Feb
If oNS is a NameSpace object then use: Set catCollection = oNS.Categories -- 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 "Christian Havel" <ChristianHavel@discussions.microsoft.com> wrote in message...
How to Programatically Access specific MAPI folder
Dmitry Streblechenko
0 / 5 17 Feb
Assuming it is in the default store, try the following: set Folder = Session.Stores.DefaultStore.RootFolder.Folders.Item("BlackBerryHanheldInfo").Folders.Item("BlackBerryCalSyncState") Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "PS" <pratikrshah@gmail.com> wrote in message...
Custom Form Server (Message Props)
Tom at GSD
0 / 14 16 Feb
Hi Dmitry, I want to thank you for your input - it is greatly appreciated. I ended up passing our custom data as PT_BINARY. That seems to work for what we need at this moment. As far as opening a case with Microsoft - well I have not had too much success with that in the past few years. In fact I am batting about 0 percent with that lately. I usually get more issues solved by...
SharePoint 2007 Fields/Columns within the Outlook View
Tom at GSD
0 / 1 16 Feb
Hello, We have a customer that wants us to write an add-in that will be able to manipulate the fields (columns) within the form view - within the SharePoint folder. They want us to ensure that only select fields (columns) are available within the form view. The problem that I understand from the customer is that the fields cannot be changed. The customer spent ($$) over 20 hours of...
Unable to display Custom Icons On outlook 2007 ribbon using VB
Ken Slovak - [MVP - O...
0 / 7 15 Feb
Users can only customize the QAT in Office 2007, they cannot customize either built-in or custom ribbons. -- 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 "Ashok" <Ashok@discussions.microsoft.com> wrote in message...
Stopping Outlook from closing/shutdown
Ken Slovak - [MVP - O...
0 / 2 15 Feb
There's no supported method for that. -- 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 "Pradeep" <pradeepksingh@gmail.com> wrote in message news:eb5e1882-d946-454e-bd99-34cc1b899b68@s19g2000prg.googlegroups.com... > I'm writing...
Can't save AppointmentItem properties of recurrence appointmen
Mark J. McGinty
0 / 4 15 Feb
"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:uXdHcmnaIHA.4880@TK2MSFTNGP03.phx.gbl... > Why do you make a distinction whether an appointment is recurring or not? > You should be able to set the Start and Duration properies on the > AppoointmentItem object. Actually, you can't, OOM throws an illegal use of property/parameter (or some such) if you attempt to...
MAPIFolder.get_Folders and Exchange
Dmitry Streblechenko
0 / 7 14 Feb
You might be running out of the 255 open objects limit impose dby Exchange in the online mode. In case of OOM, have you tried to 1. Do not use multiple dot notation to make sure you don't get implicit variables 2. Explicitly release all COM objects that you are done with as soon as you are done with them using Marshal.ReleaseCOMOBject. Calling GC.Collect() every once in a while also...
AlphaImageLoader
Richard Bibby
0 / 1 14 Feb
Hej, I am creating an html formated email message that contains one inline image. When the html refers to the image using an img tag (as below) everyting looks great and the image is shown inline in the correct place in the email. <img src="cid:a1" border="0" width="699px" height="283px"> <---- this works but when the html has been rendered on another workstation that refers...
New Inspector event in OL2000 when using Word as Editor
Ken Slovak - [MVP - O...
0 / 11 14 Feb
Are you releasing your Inspector wrapper class and any Inspector and item objects when the Simple MAPI Inspector closes? What you are seeing sounds like the "ghost" Inspector problem. That's a blank Inspector window that cannot be closed using code but if the user clicks on the Close box in the Inspector window the window does close. That happens with any modal Inspector window...
One simple question
Ken Slovak - [MVP - O...
0 / 2 14 Feb
If you are getting a MailItem use the MailItem properties: mail.Subject, etc. Look in the Object Browser to see the properties on various items. Check for item.Class = olMail, since items in the Inbox can be other things besides mail items (post, meeting and task requests, etc.). If that doesn't help show the code you're using to iterate the Items collection. -- Ken Slovak...
One simple question
clay
0 / 1 14 Feb
Hi, I just touch 2008 vs c#, meet a question about outlook addsin: I want to delete all same mail in Inbox, so I use “Items Object”, I can obtain a mail using "Item and GetNext" methods, but I didn't obtain properties of the email, such as time, subject, etc. How I do? thks in advance clay...
Outlook 2007 Beta and vpmsece3.dll
Diana Milosevic
0 / 1 14 Feb
I just solved this problem on Outlook 2003 SP@ with disabling Add-Ins in Tools/Options/Other/Advanced Options/Add-In Manager. Remove only Symantec Antivirus, leave the Symantec Antivuris Outlook Protection. Hope this helps, Diana "Don Grant" wrote: > Every time I open Outlook Beta 2007 I get the following error statement: > The Add-in "C:\Program Files\Symantec...
not work when install client, VS 2005 C# share addin, outlook 200
Ken Slovak - [MVP - O...
0 / 2 13 Feb
Is your addin registered on the target machine? If you are using a shim are you strong naming your addin assembly and are you signing your shim dll? Did Outlook disable your addin (look in Help, About Microsoft Office Outlook, Disabled Items button)? If you select your addin in the COM Add-Ins dialog does it show any loading errors? -- Ken Slovak [MVP - Outlook] http://www....
donet versions required for pia 2003 / 2007
Ken Slovak - [MVP - O...
0 / 4 13 Feb
You can install Office 2003 on a VM or uninstall 2007 and reinstall 2003 on that computer. I don't know for sure but my guess is there's some manifest file for your code that's specifying to use Framework 1.1. You'd have to check for something like that. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager,...
Looking for a rule on sending..
fskrotzki
0 / 1 13 Feb
I need to have a rule that basicly says if a e-mail is addressed to xx-list@example.com, change the From and reply to if present to special-email@domain.com before sending when send is clicked. Environment is Outlook 2003, using PST with pop and smtp, no exchange server involved. Yes I know about the accounts button to have it send under a different account the problem is that I...
Need help to create a toolbar for outlook 2007 C#
Ken Slovak - [MVP - O...
0 / 2 13 Feb
What do you mean that your toolbar is not a toolbar but a window? What do you mean by a drop down button? Do you want a popup that shows other menu items? That's a CommandBarPopup object. What version of Outlook and where do you want this UI, in an Inspector or an Explorer? If an Inspector and Outlook 2003 or earlier is this WordMail? -- Ken Slovak [MVP - Outlook] http://www....
Outlook 07 With BCM Query
Ken Slovak - [MVP - O...
0 / 2 13 Feb
You'll probably receive a better answer in a BCM group such as microsoft.public.outlook.bcm.developer than here. -- 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 "Rob" <robert.swift@nmbs.co.uk> wrote in message news:u8oYeGYbIHA....
Importing Comments From A Database Using VBScript
Rob
0 / 1 13 Feb
When using Outlook 07 with Business Contact Manager. Is it possible to import the contacts into both the Accounts and Business Contacts lists from an access database using VBScript. Cheers...
Pro Photo Shoot in 2007
ice-capades
0 / 26 12 Feb
I've been trying to install the Pro Photo Shoot plug-in for Outlook 2007 on my PC running Windows XP Professional since it first became available with the same installation failure notifications. The installations were on a PC with a recently formatted hard drive and a clean installation of all programs and updates. As a Microsoft fan it's frustrating to see this type of...
C++ Outlook Addin (New Folder Code)
Dmitry Streblechenko
0 / 2 11 Feb
What are the relevant snipets of your code? Do you get any errors? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Hector Y. Martinez" <HectorYMartinez@discussions.microsoft.com> wrote in message news:9073ACD0-C7C3-4DBE-9CFE-D209C72FE1E4@microsoft.com... > > Hi, I'm developing a Outlook Addin, simply I want to create a new...
Outlook 2003 AddIn loads,but no Explorer or Item toolbars showing?
dmitry.kostochko@gmai...
0 / 2 11 Feb
...
Outlook 2007 + news groups
Kathy
0 / 2 10 Feb
I found it..... http://office.microsoft.com/en-us/oulook/HA102166861033.aspx Took awhile searching, but found it, printed itand will keep it... "Kathy" <kathybear@gmail.com> wrote in message news:BC69DF18-265B-46D6-A22D-1265F5CEEDCB@microsoft.com... > I'd like to be able to open newsgroups from Outlook 2007. I know it can be > done, but cannot remember how - anybody know? Thanks. >...
Event handler when a mail from the inbox is selected
Sue Mosher [MVP-Outlook]
0 / 2 09 Feb
Answered at http://www.outlookcode.com/threads.aspx?forumid=5&messageid=25742 -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Cherry" <Cherry@discussions.microsoft.com> wrote in message news:B62E1B38-9D25-4A8C-AFFE-9EA23A77B650@microsoft.com... > Hi, >...
Outlook add-in programming in return for sweat equity
Deba - India
0 / 4 09 Feb
Hi Jonathan, Please feel free to contact us for the purpose. deba@ensarm.com Cheers, Deba "Jonathan" wrote: > We have a new project to develop a commercial, enterprise 2007/2003 Outlook > Add-in. > > I was wondering if there are any websites that showcase developers (C# > Outlook Addin) that would be willing to do such work for sweat in return for > an equity % of the...
Outlook 2007 addin 'out of memory / system resources' issue on certain machines
Dmitry Streblechenko
0 / 8 08 Feb
I mean to see if you can reproduce the problem. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:exVxJlnaIHA.3572@TK2MSFTNGP02.phx.gbl... > Try to switch to the online mode. > > Dmitry Streblechenko (MVP) > http://www.dimastr.com/ > OutlookSpy - Outlook, CDO >...
Changing AppointmentItem.Subject split recurrence (series)
Dmitry Streblechenko
0 / 4 08 Feb
Do you mean you get an exception in the series? That means you are modifying one of the instances of the appointment, not the master appointment. Check if the AppointmentItem.RecurrenceState property is olApptOccurrence (= 2) or olApptException (=3) and use Parent property, which will return the master appointment. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy -...
Outlook und Outlook Connector? Fehler!
Caroline Grossmann
0 / 4 08 Feb
I have had the same problem. I uninstalled Outlook Connector and received the message to uninstall msncon32.dll. I want to do that. Unfortunately, I cannot find any instructions on Microsoft's website about how to safely uninstall msncon32.dll. Does anyone know? Caroline "Lukas" wrote: > Hallo Peter > Danke für deine Antwort > Leider ist dies nicht die Lösung :( Das habe...
Outlook 2003 Advanced Search and display results
Sue Mosher [MVP-Outlook]
0 / 12 08 Feb
Please reread my earlier post. As you've already been told, there is no Display method related to the AdvancedSearch method or the Search object. The solution in a public folder is to use filtered views. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54...
Interaction with Outlook, SQL Server, and Performance Counters
Michael
0 / 1 07 Feb
I wanted to update everyone on this topic which I wrote about a while ago, as I have discovered the source of the problem. http://groups.google.com/group/microsoft.public.outlook.program_addins/browse_thread/thread/9d51663980a36164/28a699d1cf6d8e82?hl=en&lnk=gst&q=outlookissueman+sql#28a699d1cf6d8e82 I posted a question about errors coming from Outlook when my add-in was running. Users...
Showing form region on button click
Ken Slovak - [MVP - O...
0 / 2 07 Feb
There are no FormRegion methods for show or hide. Use a custom task pane instead. See http://blogs.msdn.com/vsto2/archive/2008/01/03/hiding-and-showing-an-adjoining-outlook-form-region.aspx -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products....
First day of week
Ken Slovak - [MVP - O...
0 / 2 07 Feb
How you get that system value (which is used if the Outlook setting hasn't been made) depends on what language you're using. Just Google for "FirstDayOfWeek" and pick the link for the language you're using. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www....
How to set the active printer for Outlook 2003
Sue Mosher [MVP-Outlook]
0 / 6 07 Feb
You may need to use a low-level API such as CDO 1.21 or Redemption to examine hidden properties of the attachments to determine a match for the image source. The attachment's &H3712001E field should contain the CID. [TIP: A tool like Outlook Spy (http://www.dimastr.com/outspy/) or MFCMAPI.exe is a good tool for locating what fields contain the information you need. ] The index order is not...
IExchExt interface leak
JahMic
0 / 1 07 Feb
I have an IExchExt interface leak, maybe I'm not thinking straight about this, but the Release for the interface associated with the EECONTEXT_SESSION is never called. In brief, the start / end sequence is something like this: ExchEntryPoint called Install for EECONTEXT_TASK context (return s_ok) QueryInterface w/ IID_IExchExtSessionEvents AddRef ExchEntryPoint called Install...
Reading Outlook Appointment.subject fails
Mk23
0 / 5 06 Feb
Hi I post here our result's. Perhaps it helps someone. We start a call at microsoft, and tried to find the error. We generate multiple dumps, but couldn't find any specific reason. We had hints, that the error happens by at deadlock from an other thread. But we couldn't find out the guilty thread. At the end on the machine we could reproduce the error, was installed an other virus...
Exchange folder and cached folder in OST file not in sync
Dmitry Streblechenko
0 / 4 06 Feb
Firstly, try to use LogonExchangeMailbox instead of Logon to make sure you are always in the online mode. Secondly, try to keep the same RDOSession object alive at all times rather than recreating it. Thirdly, try to use the standalone version of MAPI. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Michael"...
How to retreive propertiy values
Ken Slovak - [MVP - O...
0 / 2 05 Feb
For Outlook 2003 you'd need to use a COM wrapper for Extended MAPI such as Redemption (www.dimastr.com/redemption) or an equivalent. -- 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 "Lacroix" <Lacroix@discussions.microsoft.com>...
Outlook COM Addins order of processing
Ken Slovak - [MVP - O...
0 / 2 05 Feb
No way to do that. -- 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 "Kevin" <kderhak@legato.com> wrote in message news:%23FUgzNBaIHA.4208@TK2MSFTNGP04.phx.gbl... > Hi All: > > Question: If more than one Outlook COM Addin is...
Azroles Issue
Ken Slovak - [MVP - O...
0 / 2 05 Feb
This has nothing to do with Outlook, but you can reference any COM dll and a PIA will be automatically generated. You can also contact the vendor and see if they have an official PIA available. PIA's are not signed or strong named. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment...
olAppointmentItem.Organizer when created by publisher on shared calendar
Ryan Parlee
0 / 5 05 Feb
Thanks for the tip on DASL; I wasn't familar with that. "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:eeuq%23k1ZIHA.4272@TK2MSFTNGP05.phx.gbl... > For Outlook 2007 you can directly access the PR_LAST_MODIFIER_NAME > property using the PropertyAccessor for the appointment item, using this > DASL syntax for the property: > "http://schemas.microsoft....
Inspector Wrapper
mwebb
0 / 16 04 Feb
Thanks, it works m_WordApp.ScreenUpdating = False "Ken Slovak - [MVP - Outlook]" wrote: > That's possible too, but it would flash the window as it was minimized and > then restored. > > -- > Ken Slovak > [MVP - Outlook] > http://www.slovaktech.com > Author: Professional Programming Outlook 2007 > Reminder Manager, Extended Reminders, Attachment Options > http://www....
Addin will not load in Vista/Outlook 2007
Andrei Smolin [Add-in...
0 / 6 04 Feb
Hello Mike, Please contact our support guys; see the support address in readme.txt. We will need the following info: Add-in Express version, Visual Studio version, Office version and SPs installed.. We'd also like to look at adxloader.log located in Documents and Settings\%Profile%\My Documents\Add-in Express\. Regards from Belarus (GMT+2), Andrei Smolin Add-in Express Team...
System.Runtime.InteropServices.COMException (0x8002801D)
Ken Slovak - [MVP - O...
0 / 10 01 Feb
I think you nailed it. Those IPM.Reference items probably don't have the correct format or the property you want. If you can get to item.PropertyAccessor then it's just a matter of the specific properties. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www....
All times are in (US) Eastern Daylight Time (GMT -4:00)