ThreadLast AuthorMessages
read/total
Date
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 >...
Message Class and Forms
Dmitry Streblechenko
0 / 4 31 Aug 2007
Your form can behave in a different way based on whether the mesage is sent or not. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "JahMic" <jahmic@gmail.com> wrote in message news:1188564664.870380.233170@q5g2000prf.googlegroups.com... > Yes, it really isn't a technical question. It's more about design, > since the...
Force Outlook to reload form region definitions.
Ken Slovak - [MVP - O...
0 / 4 31 Aug 2007
They must be defined in the registry. -- 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 "jaredb" <jaredb@discussions.microsoft.com> wrote in message news:50A9827E-F989-4325-98C0-4A27E44A6221@microsoft.com... > > Is there any other...
Question regarding the FormRegion Object
Ken Slovak - [MVP - O...
0 / 2 30 Aug 2007
You can but you won't find any sample code probably. Most or all of the sample code is in VB.NET, C# or VB 6 code. -- 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 "DRuben" <DRuben@discussions.microsoft.com> wrote in message...
MAPILab announces a special offer for bloggers!
matveeva2007@gmail.com
0 / 1 29 Aug 2007
MAPILab Ltd. glad to offer bloggers a chance to test our products and get them as a gift! Download, install and try any product from among: Microsoft Outlook Add-ins ( http://www.mapilab.com/outlook/ ) Plug-ins for Outlook Express (http://www.mapilab.com/ outlook_express/ ) Add-ons for Microsoft Excel. (http://www.mapilab.com/excel/ ) Write and publish a short review about it in...
Adding seperator to Outlook standard menu
John
0 / 3 29 Aug 2007
Thanks for your reply. At first it didn't work because I was trying to add the seperator after my button becasue my button was the first button on the standard menu. When I moved it to be the second button on the menu the seperator showed up. Thanks again. John "Dmitry Streblechenko" wrote: > Set the button's BeginGroup property to true. > > Dmitry Streblechenko (MVP) >...
Cancelling mail item send is having problem
Ken Slovak - [MVP - O...
0 / 4 29 Aug 2007
I don't have an example using VB.NET and I certainly don't have the time to translate that C# code into VB.NET, sorry. -- 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 "Dhananjay" <pandit.dhananjay@gmail.com> wrote in message...
Cancelling mail item send is having problem
Dhananjay
0 / 1 28 Aug 2007
Hi all, I am developing my Com-addin (Shared Addin) in VB2005 for Office XP. I have created just a single application object in general section. & in OnConnection method I am assigning that application object to my application object. It is working perfectly. Now, in ItemSend event of my application object I have just written statement "Cancel = True" to cancel the send event of...
Freebusy for distribution list very slow
Klemens
0 / 1 27 Aug 2007
I need to retrieve the free/busy information for all members of a distribution list programmatically. However, looping through the members and retrieving the f/b for each member individually is very slow (up to 3 seconds per member). In the Outlook UI this works much faster. When I expand the DL the f/b info is updated in about 3 seconds for all members at once. I tried all programming...
Outlook Subject Encoding
Eldingo
0 / 1 27 Aug 2007
Hello All: I recieved an email from a client in China, the subject line is all gibberish but the body of the email has legible Chinese text. I am using Outlook 2007, how can I decipher the subject line? I have already installed Chinese language pack for Windows XP. Any help will be greatly appreciated. Cheers....
Adding Dynamic Buttons to the RibbonUI
kapkema
0 / 3 27 Aug 2007
Hi Ken - I am thinking that creating an excess of buttons and hiding them might be the way to go. However, in my case, this is difficult because there is no maximum number constraint on the system the AddIn will be based on. I will have to look into this option a little more. I have also looked into the dynamic menu option some as well. I was wondering if there is a way to...
Exchange Client Extension under Outlook 2002
Vladimir Werskov
0 / 3 27 Aug 2007
Thank you for assuring me. Finally i could locate the documentation in MSDN Library (there is no documentation ion online msdn anymore) for the GetObject method: Remarks: The interfaces must be released before the call which was given the lpeecb parameter returns. So it seems that every example i have found is wrong :) "Dmitry Streblechenko" wrote: > Yes, you should release...
Remote Transport Viewer
Tom at GSD
0 / 1 24 Aug 2007
Hello, I have developed a remote transport provider for Outlook and I am currently in need of a remote mail viewer before I finish integration with Outlook. There used to be standalone remote mail viewer with older versions of Exchange. Does anybody now where I can find a copy of the viewer? Any suggestions would be greatly appreciated. Thanks, Tom -...
Determining permission to another mailbox using RDO when user is in permissio...
Dmitry Streblechenko
0 / 2 24 Aug 2007
By RMB I mean "right mouse button click", sorry about being cryptic. When accessing ACE in RDO, you can use RDOACE.AddressEntry property to get back the corresponding RDOAddressEntry object. You can them access the RDOAddressEntry.DisplayType property and RDOAddressEntry.Members collection to figure out the type of fthe address entry and (in case of a DL) access its members. Dmitry...
Export email to a database and than send it
Michael Bauer [MVP - ...
0 / 1 24 Aug 2007
Sorry, what exactly is your question? You can track the ItemSend event, which fires after clicking the button but before sending the e-mail. Easiest would be then to call the MailItem's Save method, which can save as txt, html or msg file. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize eMails: <http://www.vboffice.net/product....
Starting an External Application in Outlook 2007/Vista
Ken Slovak - [MVP - O...
0 / 2 23 Aug 2007
Outlook 2007 security is actually weaker than in earlier versions, particularly if an up-to-date AV scanner is installed. My bet is your problem is with Vista security. See if you have the same problem with Outlook 2003 on Vista. If you do then post in a .NET or Vista group to find the recommended way of starting your app under Vista. -- Ken Slovak [MVP - Outlook] http://www....
Backup OL 2007
Chris
0 / 1 22 Aug 2007
I installed the pfbackup into Outlook 2007. It has worked fine for a week but after an update for office from MS I get an error stating"outlook backup add in is not a valid office add in" Any ideas?...
GetFormRegionStorage
Jeff Moll
0 / 3 21 Aug 2007
No offence intended, but that is a less than useful response, particularly since it is included in the documentation I quoted in the original post. As it turns out, Outlook is expecting a VARIANT containing a Safearray as below: Storage->vt = VT_ARRAY | VT_UI1; Storage->parray = parray; "Luk" wrote: > It's a byte[] > > "Jeff Moll" wrote: > > > Hi There! > > > >...
outlook addins/everyone
Ken Slovak - [MVP - O...
0 / 2 20 Aug 2007
Are you positive about that? I was told by a member of the Outlook team that an Outlook VSTO addin would not load at all from HKLM no matter what you do. This was related to VSTO 2005 SE. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products....
Staff directory with pictures based on Address Book?
William Hamilton
0 / 1 19 Aug 2007
Hi, I have been asked to look into a staff directory with pictures based on the internal address list. Staff details such as phone number, position etc are all stored in Exchange but do not have pictures. Any solutions out there or should I be considering writing a web app using WebDav, LDAP or ADSI and Exchange? tia W...
Question regarding OlMailRecipientType.OlTo / olCC / olBCC
Steffen Grellmann
0 / 1 18 Aug 2007
Hi newsgroup, I want to pass E-Mail-addresses from a Windows form to an ActiveInspectors CurrentItem. I'm a little bit confused of the handling of OlMailRecipientType: If I create a new mail item for test purposes in Example 1, everything is going well. But if I refer to the CurrentItem of an ActiveInspector (see Example 2) I have to fill the olTo-Field AFTER the olCC and olBCC fields...
Office XP PIAs
TC
0 / 7 16 Aug 2007
OK. I just tried adding a reference from within VS2003 and I did not receive any yellow exclamation. It appears that it may be a VS2005 / Office XP PIA issue. Anyone got any ideas or advice? Thanks, TC "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:uFdMIPE4HHA.1208@TK2MSFTNGP03.phx.gbl... > See if the information about the Office 2002 PIA at >...
Opening Outlook
Eddie
0 / 1 15 Aug 2007
When opening Outlook 2003 I get two error Codes. The add-in"C:\PROGRA~\SPAMBL`1\Bin\484~1.0\SBOLExt.dll" could not be installed or loaded. This problem may be resolved by using Detect and Repair on the help menu. OK. After OK is clicked, another similar warning is given. The add-in"C\Program Files\SpamBlockerUtility\Bin\4.8.4.0\Redemption.dll" could not ________. The same advice is...
Writing other peoples calendar
Ken Slovak - [MVP - O...
0 / 2 15 Aug 2007
That method only applies if you have an EntryID for a specific Recipient, not a folder ID. You need to create a Recipient object using something like CreateRecipient, where you supply the email address or Exchange DN for that Recipient object. If you don't have that you can't proceed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming...
Programmatically changing the message's sender field in MAPI.
JahMic
0 / 1 15 Aug 2007
Well, it would have been easier if I just had to support o2007 or could use redemption. Insteadt, I had to do the following: To check the sender: OnSend, check the to see if the named property 0x8581 (same as below) is set, if so, parse that a bit to get the email account. if not present, just the default sender via session QueryIdentity. To change the sender, Enumerate and...
Weird issue publishing forms
eselk@surfbest.net
0 / 4 14 Aug 2007
On Aug 14, 9:44 am, es...@surfbest.net wrote: > Looks like it is something my add-in is doing at startup which is > causing the weird issues. I disabled my add-in, and now I can't > recreate the error with the VBA script. Thanks for the help anyway, > but now that I know it is something I'm doing at startup, should be > easy enough to comment out code until I find the problem -- and >...
CAS - common access security causes add-ins deployment problems?
Ken Slovak - [MVP - O...
0 / 1 14 Aug 2007
Deployment is the weak point for VSTO addins and has been since VSTO came out. It's been something MS has deservedly taken a lot of flak about. There now are deployment walkthroughs available for both VSTO and VSTO 2005 SE that do cover the security fairly well, you just have to follow each step of the articles and not skip something or decide that something isn't important. --...
Outlook Add-in installed but it does not launch
hav
0 / 1 13 Aug 2007
Its possible that once you check all the prerequisites that you'll be in the same boat. If this is the case you may need to look into the security models and have your setup ask the target system to allow your add-in to run. This is a major learning curve especially if you need to deploy quickly. You could begin by looking at your assembly metadata - have you set the CAS security? hth...
Outlook 2007 Addin: View and Edit Email Before Sending
Ken Slovak - [MVP - O...
0 / 2 13 Aug 2007
C#: Outlook.MailItem mess = (Outlook.MailItem)Item; VB.NET: Dim mess As Outlook.MailItem = CType(Item, Outlook.MailItem) -- 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 "Chris" <chris@anderpendle.com> wrote in...
All times are in (US) Eastern Daylight Time (GMT -4:00)