ThreadLast AuthorMessages
read/total
Date
Got error message figured, but Add-in still won't show
Ken Slovak - [MVP - O...
0 / 4 27 Sep 2007
My guess is that you would need to deploy extensibility.dll and stdole.dll with your application to the installation folder. That's usually necessary since Outlook 2003 doesn't install those dll's. You will need to check for the installation of the PIA's for Office and Outlook and to deploy the Redemption dll, which should be marked as self-registering. You will also need to check for...
Property Page back color
Dmitry Streblechenko
0 / 2 26 Sep 2007
You would need to explicitly pain it using the theming API. Don't know how/if that can be done in .Net, sorry. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Mike" <Mike@discussions.microsoft.com> wrote in message news:4FB0CB38-2179-484E-8AF2-943CBC27613C@microsoft.com... > How does one get the same background color for a...
Optimize iteration through mailitems
Ken Slovak - [MVP - O...
0 / 2 26 Sep 2007
The approach is correct but I'd probably loop the table and not use GetRows unless I was positive I was getting a limited number of rows back. I'd either use GetRows(20) or GetRow, since MAPI has limitations on how much data it can return in one pass. EntryID is really a PT_BINARY property, so when you get it back you will need to use HrArrayToString to convert it to a string value....
CommandBarButton Picture, transparency
Ken Slovak - [MVP - O...
0 / 1 26 Sep 2007
First of all, don't use an ICO file. Use some bitmap image. Second, the mask is the same image as the picture, just with the areas where you want transparency in a color that is set to be the transparent layer. Have you looked at the sample code for mask and picture at http://support.microsoft.com/kb/286460? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author:...
Outlook/Exchange Synchronization
Berkley
0 / 1 24 Sep 2007
A solution I'm working on using Public Folders will be checking our business system nightly and updating contact information in Exchange (2003). These contacts will be synched with Outlook 2003 clients in Cached mode. Is this synchronization done at a field level, or are the contacts transferred in their entirety when anything about them is modified? If done at field level, I will...
Sender email address (yourself)
Dmitry Streblechenko
0 / 1 24 Sep 2007
If you look at the problematic message with MFCMAPI or OutlookSpy, what do you see in the PR_SENDER_xxx and PR_SENT_REPRESENTING_xxx properties? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "pjerling" <pjerling@discussions.microsoft.com> wrote in message news:CD3CE039-1464-4DAF-8E92-111F6DF244F1@microsoft.com... > Hi there,...
PR_STORE_SUPPORT_MASK on IMsgOnIStg
Dmitry Streblechenko
0 / 5 24 Sep 2007
No, you cannot set that property. I don't think I understand - if you return the apporpriate value for the PR_STORE_SUPPORT_MASK property and corectly hanadle Unicode, how would that product even know that the native Imessage does not support Unicode? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "T-rev" <trevorgetty@aol....
Email address when received internally
Ken Slovak - [MVP - O...
0 / 2 24 Sep 2007
How are you retrieving the sender email address? Are you working with Exchange server? You might be getting an Exchange distinguished name email address which is in the form usually of something like a bunch of "o=", "ou=" and "cn=" tags. Same question for your other post, sending using an Exchange account will not have a sender email address in the sent email, but you can retrieve...
How to get current user email address by CDO
Ken Slovak - [MVP - O...
0 / 3 24 Sep 2007
Maybe because you don't have access to the GAL with that logon or because CDO works that way. In the examples on CDOLive I pointed you to Sig explicitly mentions that certain logons are required for the code to work. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options...
Outlook Addin (VSTO) and Exchange Public Folders
Ken Slovak - [MVP - O...
0 / 9 24 Sep 2007
You could do that but you can also test for offline status and take actions based on that, even just a message box "you're offline, go online for this to work". -- 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 "Berkley"...
Operation aborted (Exception from HRESULT: 0x80004004)
Kulvinder
0 / 1 24 Sep 2007
I dont know...
Outlook 2007 Beta and vpmsece3.dll
pixelbobby
0 / 1 23 Sep 2007
That worked! Thanks Toddy!!!!! "Toddy" wrote: > Don, > > I'm using Outlook 2K7 and had the same problem. Patrick was certainly > headed the right direction. I found it, but not under the first Add-ins > screen displaying. After you're looking at the Add-ins screen, Look at the > bottom where it shows "Manage: COM Add-ins". Click the drop down arrow and > select "Exchange...
COM registration in HKCU
Mark J. McGinty
0 / 3 21 Sep 2007
"Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message news:uaAix9M%23HHA.4784@TK2MSFTNGP05.phx.gbl... > "Mark J. McGinty" <mmcginty@spamfromyou.com> wrote in message > news:%23hb7dnJ%23HHA.4612@TK2MSFTNGP03.phx.gbl... >> Is there any way in VB to override the default self-registration code (or >> the data it uses) to make it so a component registers itself in >>...
Outlook Mail Item Duplicate "Display Name" Problem
ngwaihoalbert@gmail.com
0 / 1 21 Sep 2007
Dear all, I'm currently writing a Persona Menu smart tag in Outlook 2003. I use dynamic caption and intend to modify the "Additional Actions" sub-menu depending on the contact(in the MAPIFolder) that the tag is referring to. Problem occurs in the mapping of the tag and OL contact. All information I can find from the smart tag action DLL(with ISmartTagAction2 interface) is just the...
Redemption CopyTo(CDO.Message)
Ken Slovak - [MVP - O...
0 / 2 20 Sep 2007
That refers to CDO 1.21, not CDO for Windows or any of the many other CDO's. You would need to install the optional CDO component from the Office CD or download it from MS if you're using Outlook 2007. It's no longer on the Office CD in Office 2007. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended...
Form over all other windows
Ken Slovak - [MVP - O...
0 / 2 19 Sep 2007
For that you probably would need to use the Win32 API's to call SetWindowPos with an argument of HWND_TOPMOST. You might be able to achieve the same effect using SetWindowLong and setting the parent window of your form to the desktop window, then displaying your form modally. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007...
Catastrophic Failure
Ken Slovak - [MVP - O...
0 / 6 19 Sep 2007
Well again I still don't know exactly what you're doing so I can't comment. Some things that are available in WordMail in earlier versions of Outlook aren't available with WordMail in Outlook 2007. Whatever it is you're trying to do may fit into that category. If so you have to find a different way to do what you want. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com...
Problem Deplyng Add-In: the managed add-in loader failed to initialize
Ken Slovak - [MVP - O...
0 / 3 19 Sep 2007
Use a SetSecurity project to set the CAS using custom actions. See http://msdn2.microsoft.com/en-us/library/bb332051.aspx parts 1 & 2 for a step by step method of doing that. However, you indicate that you're not using a VSTO project, that your project is a shared addin. In that case you do not need to use a SetSecurity project. I'd suspect something else is wrong. To check you...
saving a contact (present as an attachment in the mail) into outlo
Bharathi
0 / 1 18 Sep 2007
Hi, I have a requirement where i need to extract the contact which is present as an attachment in the mail and save it into my Outlook. Currently I am saving the attachment into TEMP folder. I do not know how to put the that attachment in to my outlook I am using C#.net for programming.. Here is the code : void Application_NewMailEx(string EntryIDCollection)...
Problem Using Icon with Clear Background
jaredb
0 / 4 18 Sep 2007
That explains it. Thanks! "Ken Slovak - [MVP - Outlook]" wrote: > Sorry, I didn't notice that was for a command bar button. For that you need > 2 separate images, one of the main image and the other the mask for the > transparency. You assign the main image as an IPictureDisp object to > button.Picture and the mask in the same format to button.Mask. > > -- > Ken Slovak >...
Accessing contact folder Problem
Alex
0 / 5 18 Sep 2007
On Sep 18, 3:42 pm, "Ken Slovak - [MVP - Outlook]" <kenslo...@mvps.org> wrote: > OK, so your having VSTO is irrelevant in this case, what you have is a > shared addin. You can refer to the Application object in a number of ways > from other classes. Either declare an application object as Public in the > Connect class or create a public class for your globals and set that in >...
CommandBarComboBox on inspector toolbar (ol2003 + vsto 2005 se)
newToOutlookProgramming
0 / 1 17 Sep 2007
I have created a commandbarcombox on an inspector commandbar via a OL addin . I am facing this issue of loose-value-on-mouse-click v/s retain-value-when-keyboard-TAB for the text entered in that commandbarcombox . (Q1) Any body any ideas on how to resolve this ? (Q2) Is this a Microsoft bug or am I doing anything wrong ? using Office = Microsoft.Office.Core; . . ....
Outlook 2003 Add-in
sstory
0 / 6 17 Sep 2007
It figures. Leave it to Microsoft to complicate anything beyond belief. "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:OfnQ$RM8HHA.4612@TK2MSFTNGP03.phx.gbl... > What you need is a store provider - it is straight Extended MAPI in C++ or > Delphi, and I doubt it will be more relliable that the PST provider after > you spend a year writing and debugging it. > As...
Add-in (All Users)
Michael
0 / 7 17 Sep 2007
Google Desktop installs at HKLM\SOFTWARE\Microsoft\Exchange\Client\Extensions so there is the difference why you are seeing it. -Michael MON205 schrieb: > So how can I install my add-in to all users and let it be shown by the COM > Add-Ins dialog? > I installed Google Desktop and it had been installed for all users and shown > in this dialog!! > > "Ken Slovak - [MVP -...
Com Add-in for Publishing a customized form in a public folder and setting th...
Vidya
0 / 1 17 Sep 2007
Hello, I have designed a Customized Meeting Request Form . I want to set this form as the default form for a set of Meeting Rooms . Can COM Add-in be developed for the following so that the settings operations are automated: 1) To set the "Rules and Alerts" for a set of Meeting Rooms. 2) To publish this form in a Public folder....
Outlook takes long time to shutdown!!!
Michael
0 / 4 16 Sep 2007
Do you have large PSTs or OSTs? If yes, this could have something to do with the White Space Cleaning Task of Outlook on closing time.... What if you try it with a fresh file of 300k? Does Outlook close quicker? -Michael MON205 schrieb: > Hello, > When I close Outlook with my add-in, it takes a long time until the Outlook > process ended. > I handled the OnCloseExplorer(), and I...
modifying answer style
Michael
0 / 1 16 Sep 2007
Hi all, I noticed that when I answer any mail (OL2k3) and am adding a HTML signature to the HTML body Outlook will add additional spacers between the lines if I hit the return button. I read many posts of this behaviour in the meantime, but no one had a solution for this. I now noticed that if I change the text style to "normal" instead of "paragraph" (I hope this is the right...
Most promentant Add-in companies?
Michael Bauer [MVP - ...
0 / 3 14 Sep 2007
You're welcome! -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6> Am Fri, 14 Sep 2007 11:10:47 +1200 schrieb Mark B: > Apologies. Your memory has been better than mine in this case. For anyone > interested, Michael's response was: > >> Some addresses for contact and/or...
Disable Add-ins via registry or group policy
pcesar
0 / 1 13 Sep 2007
Hi dears, I´m looking for a way to disable one specific add-in in Outlook 2003. I know how to disable the Add-in Manager but this is not what I need, I need to be able to disable each Add-in separately. Example : I have 2 Add-ins right now in my Outlook : Delegate Access Exchange Extensions property pages So how can I disable just one of them via registry or GPO ? Thank you...
Intercepting new outgoing e-mails
Rob Paveza
0 / 3 13 Sep 2007
OK, I found the solution to the problem about the Inspector not creating new instances. Apparently, registering for event notification prevents the inspector from ever being released by the marshaler, which therefore prevented new ones from being made (I guess). Inspector.PageChange += new InspectorEvents_10_PageChangeEventHandler(Inspector_PageChange); Commenting out that line...
Extract Attachments in ItemSend
Dmitry Streblechenko
0 / 2 13 Sep 2007
1. Sender related properties are set only after the message is handed to the transport provider. These propertiss are not yet available in teh ItemSend event. The earliest you can access them is in the Items.ItemAdd event handler on the Sent Items folder. 2. Save the message first (MailItem.Save) to make sure MAPI (and Redemption) can see the changes. Dmitry Streblechenko (MVP)...
Intercepting click event of built-in button
Thomson Mui
0 / 3 13 Sep 2007
Thanks alot. I will try your suggestion. "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:uC4l5UU9HHA.1208@TK2MSFTNGP05.phx.gbl... > You can't set the properties on built-in buttons that would enable avoiding > this, so you have to use something like flags to avoid the problem. Set a > global flag when the click is first handled and let the other handlers...
_ItemSend Cancel
Ken Slovak - [MVP - O...
0 / 1 12 Sep 2007
Do you have an Application object declared at a scope level such that it won't be garbage collected? What about your event handlers, could they be garbage collected? I usually define an Application object as public to my ThisAddIn class and assign event handlers for Application and NameSpace events events in Startup(). That way those handlers and the object are not garbage collected...
How to make add-in
Ken Slovak - [MVP - O...
0 / 6 12 Sep 2007
COM addins run in-process with Outlook and either start every time Outlook starts or start on demand when the user starts them. If you want something run every once in a while on a scheduler just compile a standalone EXE and call it from a scheduler or run it manually. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder...
Get the categories information
Ken Slovak - [MVP - O...
0 / 4 12 Sep 2007
For C# use Categories[n] where n is the category you want to get. It's the same with any collection when programming in C#, you don't use Item you use the collection with an index. -- 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...
Get PST size
KAKA
0 / 3 12 Sep 2007
hehe ! If that, it will take more than one minute to count all the mail size. It is not acceptable. Thanks for your reply, the case is closed. "Ken Slovak - [MVP - Outlook]" wrote: > The file size is the size, it also includes any "whitespace" that's there > until you do compress it. If you want the size of the actual folders in the > PST file that's a different story. In that...
Error deleting second attach from RTF Msg w/ Outlook 2007
Byron
0 / 3 12 Sep 2007
Finally found a solution to the problem. Simple call Save on the MailItem before trying to process the next attachment. case 0xf005: // Send try { Outlook::_MailItemPtr mailPtr = NULL; mailPtr = m_pItem->GetMailItem(); int attCount = mailPtr->GetAttachments()->GetCount(); for (int i = attCount; i > 0 ; i--) {...
Outlook Addin - Calendar DragDrop
Kevin Ramsey
0 / 1 11 Sep 2007
Hi There, I have developed a Custom Task Pane for Outlook that allows asset navigation and display of maintenance jobs required for each asset. I wish to enable the user to select one or more maintenance jobs and drag/drop them onto the Calendar as an appointment for the selected date/time. When I assign a simple string as the object data for the dragdrop event, it works fine but this...
How to uniquely identify explorer / inspector objects in Outlook 2007
gernot
0 / 4 11 Sep 2007
MAPI entry ids may not exist before the item is saved. In this case I use the creation time to identify the item. On Sep 8, 2:04 am, gernot <gernot...@gmail.com> wrote: > Finally I compare inspector objects by their entry id: > > _Inspector *pInspector; > > // get entry id > CComPtr<IDispatch> pDispCurrentItem; > HRESULT hr =...
Any way to have something like OL2007 Form Regions in OL2003?
Jason Ferree
0 / 1 11 Sep 2007
What I was looking for was something similar to a custom task pane (in all other apps), or form regions, but they appear to be only available in OL 2007. In my case, I want to add a form I designed to the message view/task/calendar whatever, as well as the message itself if it is opened. I am sure that it can be done, because I've seen addins which do this, but, I fear it may be...
Non Mail Folders
Ken Slovak - [MVP - O...
0 / 2 11 Sep 2007
The Mail section of the folder list is only for mail folders. Public folders are in a different store than the mailbox or any PST files, that's how you distinguish that. There are no intrinsic differences between special folders such as a sync error folder and any other folders that hold email items. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional...
OnConnection
MON205
0 / 11 11 Sep 2007
No at all. I left this issue now, and when I find anything new, I'll inform you. Now, I have new questions and I'll put every question in a separated thread. Thanks Dmitry. "Dmitry Streblechenko" wrote: > Is it password protected? > > Dmitry Streblechenko (MVP) > http://www.dimastr.com/ > OutlookSpy - Outlook, CDO > and MAPI Developer Tool > > "MON205" <MON205@hotmail.com....
Problem with ItemSend
aj
0 / 1 07 Sep 2007
I am using VS2005 and wish to record details of an e-mail send from my app but I can't seem to update my form when the message is sent. I have a simple form with one text box (txtMessage) and a button (btnMail). Clicking btnMail fires up Outlook and when the message is sent the ItemSend and Send events do fire but the do not allow me to update my text box. The MsgBox do not display either...
Web browsing in Outlook
Ivan
0 / 3 06 Sep 2007
Thanx a lot...
The operation failed due to a registry or installation problem. Restart Outlo...
Dhananjay
0 / 1 06 Sep 2007
Hello Forum, I am writing my COM-Addin from VB 2005 for office XP. Now as ItemSent event's cancel is not working for office XP (http:// support.microsoft.com/kb/830519,) I have written the code for helper class in my Connect class (Shared Addin's connect class). Now my ItemSent event's Cancel is working perfectly. But main thing is that, I am cancelling the ItemSend and I am...
resolving distlist
Michael
0 / 1 05 Sep 2007
Hi, does there exist a way to detect the current access rights of a delegate if the delegate inherits the current rights from a distlist? We use distlists to grant delegates access to public folders or common mailboxes and I have to determine the accurate rights for that user. The problem is that I have to detect it recursively and there I have to be aware of bouncing groups and...
How can I get the active pst size mounted in outlook ?
KAKA
0 / 5 04 Sep 2007
Hi MON205, thanks for your suggestion. I use the following code to get the path, but the result of some PST path is invalid, some is valid, it confuses me a lot. Cause I can get the name in the code without path. ------- Sub getStores() Dim objSession As MAPI.Session Dim objInfoStoresColl As InfoStores Dim objInfoStore As InfoStore Dim infS As InfoStore Dim...
setting 'AllDayEvent' causes an exception ?
Mark Beiley
0 / 16 04 Sep 2007
Thanks to both of you for all your help! Thanks, Mark -- Beiley Software http://www.beiley.com "Mark J. McGinty" <mmcginty@spamfromyou.com> wrote in message news:urr0yF$6HHA.2632@TK2MSFTNGP06.phx.gbl... > > "Mark Beiley" <nowhere AT donotuse.com> wrote in message > news:OZVThBs6HHA.2752@TK2MSFTNGP06.phx.gbl... >> Hi Dmitry, >> >> The RecurrenceState property is: olApptMaster...
"Catastrophic Failure" setting Picture property of button in compose e-mail i...
Mark Smith
0 / 2 04 Sep 2007
Yup, that appears to be the problem. Thanks!. Mark Smith "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:OBxUtX$6HHA.2752@TK2MSFTNGP06.phx.gbl... > Is this with WordMail? > > Picture and Mask take an IPictureDisp object, which cannot be passed > across process boundaries. Although COM addins run in-process with Outlook > WordMail doesn't really. It's a...
How can I get the active pst size mounted in outlook ?
KAKA
0 / 2 03 Sep 2007
Thanks for your reply. May I have the sample code about how to get the storeID, cause I am a fresh in outlook coding. Cause there are different PST names of different people, may be the storeID is different. So I wanna it be universal to get all the active PST in user's outlook. Thanks. "MON205" wrote: > First get the storeID of the PST you want, then use the code in the link >...
All times are in (US) Eastern Daylight Time (GMT -4:00)