ThreadLast AuthorMessages
read/total
Date
Unique Identifer for Mailitem
Ken Slovak - [MVP - O...
0 / 9 26 Sep
I don't follow. Are you saying that items with that message class are firing errors when you try to read the EntryID? That just doesn't make sense. Even with the custom message class they still are mail items and every single Outlook item of every type has an EntryID property. I suppose you could try using reflection on the items that fire an error and using that to try to get at...
How to tell when Outlook is fully loaded
Dave Vespa [MSFT]
0 / 1 25 Sep
Stuart, Why did you create another thread on the same topic? Dave "Stuart Parker" wrote: > Hi, > > So when outlook starts up, it loads my addin, and my addin's startup runs. > In the meantime outlook is loading other addins, and trying to connect to > exchange, blah blah. > > It there any way to tell when outlook has finished doing all this, and is > fully initialized?...
How add-in can unload itself?
Ken Slovak - [MVP - O...
0 / 2 25 Sep
What would be requesting the addin to unload, other code somewhere else? If that's true set Connect to false and the addin's OnDisconnection event will fire. From inside the addin just release all Outlook and addin objects. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options....
BeforeItemMove
Ken Slovak - [MVP - O...
0 / 4 25 Sep
You really should be declaring all the Items collections you are working with at class level and not inside methods. I can see the GC getting rid of those at random intervals. Or you can create wrapper classes for folders and declare the Items collection and folder entities at wrapper class level and put the wrapper classes in a list of some sort to keep the classes alive. The way...
Disable/lock reading pane
Ramazan
0 / 3 25 Sep
...
Assembly.LoadFile permission error
Dave Vespa [MSFT]
0 / 2 24 Sep
Are you using VSTO, if so what version? Also what is the exact permission error you are getting? Dave "Koen Verwimp" wrote: > Hello, > > I'm getting permission errors while trying to load a dll file dynamically > (Assembly.LoadFile( ... ) ) from within an outlook addin. > > Anyone a solution for granting this permission? > > thanks, > Koen...
Bind dynamically added control with form fields
Sue Mosher [MVP-Outlook]
0 / 2 24 Sep
Unless you're talking about an Outlook 2007 form region, this is an extremely bad idea. Adding a control at run time causes the form to one-off, becoming embedded in the item, vastly increasing its size, and preventing the recipient from seeing the form's UI. Don't even think about it. If you can provide more complete details of your application, I'm sure someone can come up with a...
How to add a reference number or tag to each mail (Microsoft Outlook 2003)
ifiaz
0 / 1 24 Sep
Currently, we send lots of e-mail everyday to Support for our application. Support in turns assigns a reference number called a Tracker to every e-mail we send for each of the problems... It could be anywyere from say e.g. 1000 - 9999... Say today I send an e-mail for a problem to Support and they reply with a tracker of 2575 and some further correspondence may be exchanged related...
Problem installing Outlook personal Folder backup
Jon
0 / 1 24 Sep
Hi, I'm trying to install Outlook Personal Folder Backup, downloaded from MS website. When I run the application, I get warning message saying it's already installed and asked if I want to unistall. I say yes, system says can't unistall, and intructs me to use Add / Remove programmes - I try this and Personal Folder backup is not listed. I have searched my C drive for a file or folder...
WordEditor property for Inspector null in Outlook
Ken Slovak - [MVP - O...
1 / 15 24 Sep
The Adobe addins for Outlook are almost always a problem and have been for years. I'm glad you figured it out. -- 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 "freedbill" <freedbill@discussions.microsoft.com> wrote in message...
How To get the paht to my current directory?
Ken Slovak - [MVP - O...
0 / 2 24 Sep
This really should be posted to a C# or .NET group, it has nothing at all to do with Outlook. Use Assembly.GetExecutingAssembly().Location to get the location where the code is installed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech....
How to tell when Outlook is fully loaded?
Sue Mosher [MVP-Outlook]
0 / 5 24 Sep
No, there is no event like that. You can hook into Application.MAPILogonComplete or maybe use the first Explorer.SelectionChange, but the other add-ins aren't going to provide notifications when they're initialized. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article....
C# Redemtion not able to send reply
Dmitry Streblechenko
0 / 8 23 Sep
What are your versions of Outlook and Redemption? -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - <surykant.kanada@gmail.com> wrote in message news:14a44c09-bf58-4bc7-93d9-666eadc8eb16@r15g2000prh.googlegroups.com... >I have following code which tries to reply to mail, however the mail > sits in drafts and displays...
BeforeFolderMove Event
Dmitry Streblechenko
0 / 6 23 Sep
Hard to say.. Are o usur your obejcts do not get released? Keep in mind that Redemption won't help you with BeforeFolderMove - Redemption wraps MAPI events, which firte asynchonously after the action takes place. BeforeFolderMove is fired by Outlook *before* the folder is deleted. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer...
adding button or menu to outlook
Dmitry Streblechenko
0 / 5 23 Sep
I don't know, sorry - it's been at elast 5 years sinc I used ECE API to insert menu items. I used OOM even from an ECE to do any UI related functionality. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "soner" <soneray@gmail.com> wrote in message news:a53d09a2-9afa-4aa4-9dc4-c46d58aeb0d2@j22g2000hsf.googlegroups.com......
Minimized Task Pane
danny
0 / 7 23 Sep
Ken, thanks for your posts. I will look into hooking the Outlook and 'injecting' my window. If I will have any progress, I will post it here. Cheers! "Ken Slovak - [MVP - Outlook]" wrote: > I have no idea how Xnobi did it. Perhaps by creating a window form and > overlaying that on Outlook and resizing the other Outlook windows. > > -- > Ken Slovak > [MVP - Outlook] >...
Addin not loaded after recompile
Ken Slovak - [MVP - O...
0 / 2 22 Sep
You need to install because that registers your addin. Once installed it should run the new build in debug mode if you haven't disabled the addin or uninstalled it. Or you can manually or using code register your addin dll so Outlook will recognize it and start it up. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder...
MailItem SaveAs
Koen Verwimp
0 / 3 22 Sep
PR_RTF_COMPRESSED is filled! Thanks, Koen "Dave Vespa [MSFT]" wrote: > I think you are seeing the results of Outlook's "Best Body" logic. Outlook > could store the body in three locations: > > PR_BODY > PR_BODY_HTML > PR_RTF_COMPRESSED (which could contain RTF, HTML, or Plain text) > > Outlook computes the "Best Body" on the fly. What could be happening here > is that...
Exception iterating thru inbox mailitems
Stuart Parker
0 / 6 22 Sep
<cainrandom@gmail.com> wrote in message news:56d64fb2-e015-45c3-9e1e-1aaf80a891d5@f36g2000hsa.googlegroups.com... > On Sep 19, 8:14 pm, "Stuart Parker" <m...@here.com> wrote: >> OK, The item it's failing on is a Non-Delivery Report returned by >> Exchange >> which is in the inbox. >> >> Is there something strange about NDRs, I assume they aren't of type >> mailitem >> then? >>...
Personal Folders Backup Utility is missing on toolbar
Tom
0 / 2 21 Sep
The same thing happened to me but with outlook 2003. I guess we are the only ones to have this problem? "Millie" wrote: > Hi > > I'm using Outlook 2007 and the outlook backup tool. I recently created > another user account and discovered that the backup tool was missing. I tried > to reinstall but I got a message telling me it was already installed. > > I followed...
Outlook 2003 stops working in Vista home
Dave Vespa [MSFT]
0 / 2 20 Sep
What do you mean by "it stops working". Does it crash? Does it not start? Can you see Outlook.exe in Task Manager? This post is off topic to the current newsgroup. You may try another newsgroup and have more success. Dave "A Marano" wrote: > Outlook 2003 stops working within seconds of opening. Did not start > happening until recent Vista updates. No solutions offered....
IDTExtensibility2_OnDisconnection does not fire, Outlook.exe h
Bert_Bert
0 / 6 20 Sep
> you do is in the New* event (NewExplorer or NewInspector) you decide if you > want to handle that Explorer/Inspector. If so you instantiate an instance of > a class that declares the Explorer or Inspector objects WithEvents and then well, actually I thought a lot about it and finally managed to do it exactly as you write - instantiating a particular withevents variable within a...
minimized CustomeTaskPane
danny
0 / 1 19 Sep
How can I create a TaskPane that can be minimized? I am trying to create a task pane that is similar to the "To-Do" pane or Xobni pane. I am using the CustomeTaskPane for some time, and you cannot get the minimized functionallity mentioned above. I have tried using the Width property but it seems like the CTPs have minimum with (which is longer than the one I need) Regards...
Multithreading
Dmitry Streblechenko
0 / 6 19 Sep
You can update the UI and run the message pump (DoEvents) after moving each message. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Stuart Parker" <me@here.com> wrote in message news:%23uENljnGJHA.2236@TK2MSFTNGP05.phx.gbl... > Thanks. > > So are per my reply to Ken, how do I display a form to show progress >...
Panel.Width not accurate during runtime
Paulem0071
0 / 1 19 Sep
All, I have a panel in my Outlook Add-In window. I need to get the panel.Width of the panel, but at runtime it returns the designtime Width, not the Width adjusted for docking, anchoring etc. Any ideas? Thank you....
Pause receiving email
Stuart Parker
0 / 3 19 Sep
No, but I will now :-) Thanks "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:29828CDB-7DBA-4A92-9206-31B6934FD72D@microsoft.com... > Have you thought about executing the FIle | Work Offline command through > CommandBars? > -- > Sue Mosher, Outlook MVP > Author of Microsoft Outlook 2007 Programming: > Jumpstart for Power Users and Administrators >...
Delete quoted messages
Ken Slovak - [MVP - O...
0 / 2 19 Sep
You can try looking on the Utilities pages at www.slipstick.com to see if there are any utilities out there that do what you want. -- 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 "tortho" <tortho.3193cc9@outlookbanter.com> wrote...
append formatted text to postitem's body
cainrandom@gmail.com
0 / 6 19 Sep
...
Explorer.SelectionChange event triggered multiple times
Dmitry Streblechenko
0 / 10 18 Sep
Nothing bandaid about it: just a basic performance optimization. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Dorian" <Dorian@discussions.microsoft.com> wrote in message news:C96F60AE-058C-4005-9034-23F06AFC8C61@microsoft.com... >I suppose that works as a bandaid fix. Thanks for the help. > > "Dmitry Streblechenko"...
Application.Reminder Event
Stuart Parker
0 / 3 18 Sep
Cheers Ken. Here's some background as to why I asked the question.... We use Richmond ServiceDesk, which can receive service requests via email, and log them in the system. We have a number of tasks which we perform for our managed clients on a recurring basis. We would like service requests to be logged in Richmond whenever one of these tasks is due. The idea being toyed with...
AutoArchive Process
Sue Mosher [MVP-Outlook]
0 / 2 18 Sep
No. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Stuart Parker" wrote: > Hi, > > Is there an API that lets you hook into the AutoArchive process ? > > Cheers >...
imap change mailitem body creates deleted message
Ken Slovak - [MVP - O...
0 / 2 17 Sep
1. No. 2. No. 3. Don't use IMAP. -- 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 "spareway" <spareway@gmail.com> wrote in message news:e3cb18bd-ab40-4ac4-8a29-6e0637ef89b5@a2g2000prm.googlegroups.com... > hi, > > i have...
Change of from feild in outlook
Dazz
0 / 1 17 Sep
Hi I would like to change of from field in microsoft outlook. I subject of my mail i will be getting the mobile number.Based on that mobile number i need to change the from field of The Outlook mail. There is an option using redemption. I dont want to use this. Can any one help me by using low level API ? Its so urgent for me... Thanq's, Dazz...
Calculating total size of mail items
Sue Mosher [MVP-Outlook]
0 / 2 16 Sep
Nope. The way you describe is exactly the right approach. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Stuart Parker" wrote: > Hi, > > I'm developing an add-in for Outlook 2007 in VB using VSTO 2007 and VS2008 > SP1 > > I have obtained a...
Icons does not appear in a CommandBar : Catastrophic failure t
Ken Slovak - [MVP - O...
0 / 12 16 Sep
You follow the type of coding that the VB code in that KB article showed to create transparency where you want it in an image for the first button. You then use the PasteFace() method to put that image on the button. You then clear the clipboard, and repeat the process for the next button image, etc. You can do unlimited numbers of button images that way. Of course you also have to...
Why COM add-in won't run without notice nor error message?
Cedric
0 / 11 16 Sep
As simple as that... Thank you Dave and Ken for your help! You were right, Dave, the add-in was disabled in the location you mentioned. I wasn't even aware of such a thing! I simple removed my add-in entry and restarted Outlook and immediately saw my message boxes and everything working. Yeepee!!! Thank you Ken for the information about shimmed add-ins. I'll look after this...
where is FormRegion stored ?
Ken Slovak - [MVP - O...
0 / 3 16 Sep
Form region definitions are never stored in an OST, PST or mailbox. There are a few ways to set up form regions depending on your development platform. In general a form region consists of 2 parts. The design surface (where the controls live) is stored in an OFS file. The definitions for the form region are stored in an XML file. The registry settings for a form region provide the...
How to add a contact to a journal item?
Ken Slovak - [MVP - O...
0 / 2 15 Sep
The Links collection is what you want to work with. That has an Add method that takes a contact item. Once the Link is added you can see the journal item linkage in the Activities tab of the contact item and the link to the contact item in the journal item. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager,...
VSTO SE + Outlook 2003 on Vista -> Addin does not start after
Ken Slovak - [MVP - O...
1 / 6 12 Sep
It's failing on trying to load the machine.config file. Whether or not that exists on that system I have no idea. You might want to run the logging on a machine where it works, both XP with your update and Vista with the original code that worked and see what differences there are. At worst, you might have to open a case with PSS and let them analyze your Fusion logs. -- Ken...
Unable to cast object of type 'System.__ComObject' to type 'Micros
hops10
3 / 3 12 Sep
I was having the same problem. Only one user out of 20 users was not working. I found out that my program was trying to use Microsoft Interop Assembly 12 on his system when it was suppose to use Microsoft Interop Assembly 11. We had installed the 2007 interop assemblies which came in the office 2007 compatibility pack for opening Office 2007 files on his system. So he had interop...
Duplicate CustomTaskPane Windows - Help!
Ken Slovak - [MVP - O...
0 / 2 11 Sep
This is what, a VSTO addin? Please provide all relevant information. You should be using the second overload for CustomTaskPanes.Add(), where you supply the window to the method. That way each task pane you add is targeted to a specific window and won't appear in any other window. Otherwise you might get 3 task panes showing if you have 3 items open at once. -- Ken Slovak [MVP...
Attempted to read or write protected memory
Dave [MSFT]
0 / 2 11 Sep
Hi Sd, This is a difficult question to answer in the scope of a newsgroup. If you don't get any more traction, I would suggest opening a case with CSS. http://www.microsoft.com/services/microsoftservices/srv_enterprise.mspx Dave "sd" wrote: > hello > > I've AX ctrl (vb6) placed on a form region adjoined to Message > form.This ctrl raises an event after 2 seconds each (say...
Moving a Recall Message in Outlook
Steve
0 / 1 10 Sep
I have an Outlook Add-in application that runs on Outlook 2003. It processes emails that come into the Inbox, strips out needed information, and then moves the emails to another folder, using the MailItem.Move() method. It works fine until it tries to move a Recall email. When that happens, Outlook will display a message box stating the custom form cannot be opened and Outlook will...
Prevent users from moving or deleting a folder in Outlook
Ken Slovak - [MVP - O...
0 / 2 10 Sep
Answered already in another group you posted in. Please 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 "asoni12" <asoni12.30db3be@outlookbanter.com> wrote in message news:asoni12.30db3be@outlookbanter.com......
Prevent users from moving or deleting a folder
Ken Slovak - [MVP - O...
0 / 2 10 Sep
Version of Outlook? For Outlook 2003 and earlier that's about it, the FolderRemove() event, which is pretty useless for what you want. You'd have to respond to that event and either re-create your folder or you'd have to hunt to find where it was moved and try to move it back. For Outlook 2007 you have the new Folder.BeforeFolderRemove() event which can be cancelled. If you...
About Outlook addin events
Ken Slovak - [MVP - O...
0 / 4 10 Sep
As I said, add an Items collection object at class level. Also, it's not good practice to use a lot of dot operators as you're doing. .NET creates internal object variables for each level of dot operator and you have no control over those, when they go out of scope or if they create memory leaks. You also should be using the Outlook.Application object passed to you by VSTO and not...
Accessing XML feed to add all day appointment to calendar
Drew
0 / 1 09 Sep
I apologize in advance if this is a simple question but i have been searching and cannot seem to find the answer. I am looking to write an addin for outlook 2007 that will access an xml weather feed and simply add an all day even with the forecast(and if possible an icon for the forecast condition). My programming knowledge is minimal and any help for shove in an easy direction...
Multithreading with C#
emptynamespace@gmail.com
0 / 16 09 Sep
On 5 Sep, 18:19, Dorian <Dor...@discussions.microsoft.com> wrote: > Is there any way to trigger an event on the main thread once the worker > thread has finished running? I am used to doing this with forms, and having a > worker thread invoke a delegate on the main form. Since we're not working > with forms, or even controls for that matter, how would I go about doing this? Create a...
Install VSTO Add-in for OL2003 For All Users (including non-Admin)
Dave [MSFT]
0 / 5 09 Sep
Hi Alan, Installing a VSTO solution to HKLM will "work" in Outlook 2003 but is not supported. As Ken already noted in Outlook 2007, VSTO solutions will _NOT_ work if they are registered in the HKLM hive (i.e. HKLM\SW\Microsoft\Office\Outlook\Addins\). Here is more information that may be helpful (at least for Outlook 2007) http://blogs.msdn....
Outlook connector was working
missbeverlyann
0 / 18 07 Sep
Seems we are all having this issue. Am sure the 'team msn' is working on this and one day when we least expect it, the calendar will be full! Irritating as it is!!!!!!! -- Thanks! "Mark" wrote: > Have same problem email works fine now in Outlook, but calendar will not sync > with Premium MSN calendar only Windows Live. Can't find any answers on how to > solve problem. Am I...
All times are in (US) Eastern Daylight Time (GMT -4:00)